mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-20 01:06:45 +08:00
Add clarifying comment about DPI scale factor structure
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
This commit is contained in:
@@ -109,6 +109,7 @@ public partial class ViewerWindow
|
||||
var screenBounds = screen.Bounds;
|
||||
|
||||
// Get DPI scale factor for proper coordinate conversion
|
||||
// scale.Horizontal and scale.Vertical contain the DPI scaling ratios (e.g., 1.5 for 150%)
|
||||
var scale = DisplayDeviceHelper.GetScaleFactorFromWindow(this);
|
||||
|
||||
// Set to normal state first to allow manual positioning
|
||||
|
||||
Reference in New Issue
Block a user