Add Image Prev/Next to Command Palette #1652
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These are equivalents of the Prev/Next arrow buttons in the Image Viewer.
The current code relies on the mouse leaving the image viewer window to know when to revert the image view to the current page in the case of AutoImg being on. Now that Prev/Next Image can be run from the Command
Palette or by keyboard shortcut, a method is needed to revert the image viewer to showing the "auto image", i.e. "unpause" AutoImg. Simply clicking AutoImg (or using View-->See Image) will do this. You can of course
Shift-click AutoImg twice to turn it off and on again. Alternatively moving the mouse into the image viewer (or out of the viewer) will do the same.
If the orange border highlight is turned on in the settings dialog, this will be shown when the mouse is moved in or out to unpause AutoImg, but won't be shown if the user explicitly clicks the AutoImg button or uses the View Menu to unpause AutoImg.
Fixes #1649