Skip to content

add GUI button to reset page offset#94

Open
plgruener wants to merge 1 commit into
vslavik:masterfrom
plgruener:resetoffset
Open

add GUI button to reset page offset#94
plgruener wants to merge 1 commit into
vslavik:masterfrom
plgruener:resetoffset

Conversation

@plgruener
Copy link
Copy Markdown

The ResetOffset() function was already added in the last PR #92, but lacked a GUI button to actually trigger it. Especially when the pages are very similar, or when you mixed both up/down and left/right offset, it's difficult to go back to the aligned position.

Please note I couldn't actually test the keyboard shortcut, my XWayland doesn't work well with gtk apps for some reason.

I picked ctrl+c for "center", but don't have strong opinions if you want to change that. (I did intentionally not pick ctrl+0 because in most apps ctrl {+,-,0} is used for zoom in, zoom out, zoom reset respectively – a button that's also still missing.)

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