1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

Magnifier: Add desktop display scale awareness

Continues to magnify correctly at the most current
desktop scale.
This commit is contained in:
Eugene Barnett 2021-06-05 21:36:30 -04:00 committed by Andreas Kling
parent 4ef85de9dc
commit cab2ee5ea2
2 changed files with 3 additions and 1 deletions

View file

@ -24,4 +24,5 @@ private:
Gfx::IntPoint m_mouse_position;
int m_scale_factor { 2 };
int m_desktop_display_scale { 1 };
};