mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-14 19:00:41 +02:00
Fifth live test (2026-10-10 22:55): grab that brought the desktop in, it was carried and thrown 3 m out, then five gestures at it or the remote displays logged "no panel there". The open palm is held out below the line of sight, so the line from the eyes through it runs 12-15 deg under where the head points (the user's flag 150115). Since the fourth live test the line had to meet a panel exactly, and a thrown 1.35 m tall desktop 3 m out is only 12.7 deg each way, so the line passed just under it. One of the flag's two fires misses such a panel that way. Pick now takes the panel the line meets (unchanged, nearest wins), else the one whose outline it passes nearest within HANDS_GRAB_THAT_MARGIN_DEG (6 deg seen from the eyes; 0 = the old rule). The gesture itself is unchanged, so it stays as hard to trigger, and held, pinned, pressed and near panels are still never taken. "no panel there" now logs where the line went relative to the head and the nearest panel it may take, with its angle. Test: TestGrabThatAfterThrow runs the user's sequence with synthetic hands: grab that brings the desktop in, a bar carry is thrown out and up at 1.3 m/s, then grab that at it again (missed by 0.8 deg with the old rule, taken now), a remote display after that, precision cases, and the flag's two fires (2 of 2 now, 1 with the old rule). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>