Add history scroll restoration for scroll views by guanglinn · Pull Request #2366 · gsantner/markor (original) (raw)
Add support for auto scroll/history scroll restoration for scroll views. These features can improve the user experience.
In this PR:
- Scroll view in
FontSizeDialog
can auto scroll to the selection of current font size; - Scroll view in
SpecialKeyDialog
can auto save and restore previous scroll position; - Scroll view in
TextActionsBar
can keep scroll position even being reloaded; - Padding in view and edit mode
minor improvements.
It is painful and not user-friendly to scroll the view from the origin to the previous position with your fingers every time.
Here is the 3 improved scroll views, you can make a comparison with a previous version.
2024-07-25-auto-restore-position.mp4
guanglinn changed the title
Add auto restore position for scroll views Add history scroll restoration for scroll views
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I tried it and looked good! Merging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})