Skip to content

Commit 806504e

Browse files
Copilotemako
andcommitted
Add clarifying comment about DPI scale factor structure
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
1 parent b21a007 commit 806504e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QuickLook/ViewerWindow.Actions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ internal void ToggleFullscreen()
109109
var screenBounds = screen.Bounds;
110110

111111
// Get DPI scale factor for proper coordinate conversion
112+
// scale.Horizontal and scale.Vertical contain the DPI scaling ratios (e.g., 1.5 for 150%)
112113
var scale = DisplayDeviceHelper.GetScaleFactorFromWindow(this);
113114

114115
// Set to normal state first to allow manual positioning

0 commit comments

Comments
 (0)