Skip to content

Make sure we exit 'clean view' in edge case - #2270

Merged
justvanrossum merged 1 commit into
mainfrom
clean-view-improvement
Aug 28, 2025
Merged

justvanrossum merged 1 commit into
mainfrom
clean-view-improvement

Conversation

@justvanrossum

Copy link
Copy Markdown
Member

Case:

  • press and hold space (enter clean view)
  • press and hold command key
  • release space key and command key (in any order)

We never receive a keyup event for the space key, so this leaves us in clean view, and with the hand tool selected.

This PR makes sure we also exit clean view in that case by listening to the keyup for the command key.

@justvanrossum
justvanrossum merged commit 000daf3 into main Aug 28, 2025
4 checks passed
@justvanrossum
justvanrossum deleted the clean-view-improvement branch August 28, 2025 19:48
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.

1 participant