Skip to content

fix: show the cursor over the Record Area mode buttons - #382

Merged
lzhgus merged 1 commit into
mainfrom
fix/record-area-cursor-over-mode-rail
Oct 27, 2026
Merged

lzhgus merged 1 commit into
mainfrom
fix/record-area-cursor-over-mode-rail

Conversation

@lzhgus

@lzhgus lzhgus commented Oct 27, 2026

Copy link
Copy Markdown
Owner

What changed

In Record Area, the overlay hides the system cursor and draws its own reticle. Over the Area / Window / Full Screen / Last Area rail, that reticle sits underneath the panel, so the pointer disappeared and seemed to lag (#376).

The rail now tracks hover (NSTrackingArea, .activeAlways) and tells the overlay, which shows the system cursor while the pointer is over the rail and hides it again when it leaves. Cursor hide/unhide stays balanced through the overlay's existing cursorHidden flag.

Testing

  • Reproduced on main with Capso frontmost: frame grabs show no pointer at all while it moves across the rail.
  • With the fix: the system arrow shows and tracks over the rail; the reticle comes back on leaving. Also checked after clicking Window and then Area on the rail.
  • CapsoTests: everything passes except 5 failures in AnnotationEditorWindowCenteringTests, which fail identically on main with my current display setup.

Fixes #376

🤖 Generated with Claude Code

https://claude.ai/code/session_01CEFcqadVpnqXceY8Ke7Szp

In Area mode the overlay hides the system cursor and draws its own
reticle, which ends up underneath the mode rail, so the pointer seemed
to vanish or lag over the buttons. The rail now reports hover so the
overlay shows the system cursor while the pointer is over it.

Fixes #376

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CEFcqadVpnqXceY8Ke7Szp
@lzhgus
lzhgus merged commit 5cd1668 into main Oct 27, 2026
5 checks passed
@lzhgus
lzhgus deleted the fix/record-area-cursor-over-mode-rail branch October 27, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Cursor lags behind area selector in Record Area

1 participant