Skip to content

feat(pointer-icon): mirror native cursor visibility - #85

Merged
esphynox merged 2 commits into
mainfrom
feat/pointer-icon-native-cursor-visibility
Aug 10, 2026
Merged

feat(pointer-icon): mirror native cursor visibility#85
esphynox merged 2 commits into
mainfrom
feat/pointer-icon-native-cursor-visibility

Conversation

@esphynox

@esphynox esphynox commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Mirror the pointer icon overlay's idle Always Visible behavior to the native macOS cursor visibility state.

This keeps the overlay hidden when macOS auto-hides the cursor, such as during idle hover over video playback, while preserving transient pointer icon visibility during click, drag, and scroll activity.

This was feedback from user Kojelis from Reddit

Tests

  • tuist generate
  • xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other: xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS' -only-testing:KeytyTests/PointerIconVisualizerTests

Run project commands from Apps/Keyty.

UI Changes

Attach screenshots or screen recordings for visible UI changes. Write N/A if there are none.

Before After
keyty-cursor-disappering-before.mov
keyty-cursor-disappearing-after.mov

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

Pointer icon overlays now follow the native cursor's hidden state, so Always Visible no longer keeps the icon onscreen when macOS auto-hides the cursor.

@esphynox esphynox self-assigned this Aug 10, 2026
@esphynox
esphynox force-pushed the feat/pointer-icon-native-cursor-visibility branch from 2768546 to 85aeda0 Compare August 10, 2026 10:45
@esphynox
esphynox marked this pull request as ready for review August 10, 2026 10:46
@esphynox esphynox added the bug Something isn't working label Aug 10, 2026
@esphynox
esphynox force-pushed the feat/pointer-icon-native-cursor-visibility branch from 85aeda0 to 4c1e9b1 Compare August 10, 2026 10:51
@esphynox
esphynox force-pushed the feat/pointer-icon-native-cursor-visibility branch from 4c1e9b1 to e4041ed Compare August 10, 2026 11:00
@esphynox
esphynox merged commit 2d86055 into main Aug 10, 2026
1 check passed
@esphynox
esphynox deleted the feat/pointer-icon-native-cursor-visibility branch August 10, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant