mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
Magnifier: Add desktop display scale awareness
Continues to magnify correctly at the most current desktop scale.
This commit is contained in:
parent
4ef85de9dc
commit
cab2ee5ea2
Notes:
sideshowbarker
2024-07-18 12:46:30 +09:00
Author: https://github.com/awesomekosm
Commit: cab2ee5ea2
Pull-request: https://github.com/SerenityOS/serenity/pull/7833
Reviewed-by: https://github.com/vkoskiv ✅
2 changed files with 3 additions and 1 deletions
|
@ -24,4 +24,5 @@ private:
|
|||
|
||||
Gfx::IntPoint m_mouse_position;
|
||||
int m_scale_factor { 2 };
|
||||
int m_desktop_display_scale { 1 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue