JuliaImages / ImageView.jl

Interactive display of images and movies
MIT License
135 stars 34 forks source link

add shortcuts for closing and fullscreening window #302

Closed jwahlstrand closed 5 months ago

jwahlstrand commented 6 months ago

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.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.