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
commit cab2ee5ea2
Notes: sideshowbarker 2024-07-18 12:46:30 +09:00
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 };
};