Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add shortcuts for closing and fullscreening window #302

Merged
merged 13 commits into from
Mar 24, 2024
Merged

Conversation

jwahlstrand
Copy link
Collaborator

@jwahlstrand jwahlstrand commented Feb 17, 2024

Adds keyboard shortcuts for closing windows (Ctrl-W on Linux and Windows, Command-W on Mac) and fullscreening windows (F11 on Linux and Windows, Command-Shift-F on Mac). Only applies to windows created by ImageView, i.e. not user-created windows inside which ImageView widgets are placed.

Also fixes an issue with tests and works around a sporadic test failure on Mac OS that has nothing to do with this PR.

Copy link

codecov bot commented Feb 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.04%. Comparing base (03a157a) to head (84c921b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
+ Coverage   84.76%   86.04%   +1.28%     
==========================================
  Files           6        6              
  Lines         840      860      +20     
==========================================
+ Hits          712      740      +28     
+ Misses        128      120       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jwahlstrand jwahlstrand merged commit e54547a into master Mar 24, 2024
17 checks passed
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