Add clarifying comment about DPI scale factor structure

Co-authored-by: emako <24737061+emako@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-13 04:18:01 +00:00
parent b21a007455
commit 806504e5a1

View File

@@ -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