-
Notifications
You must be signed in to change notification settings - Fork 373
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
OS independent Zoom factor & serialization thereof #1448
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, but this breaks the web version, at least on Linux (both Firefox & Chromium).
No issue on main
.
23-02-28_18.22.58.patched.mp4
great catch @teh-cmc! I incorrectly assumed it would not change web behavior and didn't test! 😳 |
fixed web! |
* Add Zoom in/out/reset to command palette * Use screen independent zoom factor and serialize it with app state
pixels_from_points
. This way users can move around the window and it keeps the zoom factorChecklist