Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoeFin committed May 2, 2024
1 parent e35d49f commit 682dcb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Text-Grab/Extensions/DapploExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public static Rect ScaledBounds(this DisplayInfo displayInfo)
NativeMethods.GetScaleFactorForMonitor(displayInfo.MonitorHandle, out uint scaleFactor);
double scaleFraction = scaleFactor / 100.0;

// TODO: Discover, should you scale the X and Y or just the height and width??

// Scale size and position
Rect scaledBounds = new(
displayRect.X / scaleFraction,
displayRect.Y / scaleFraction,
Expand Down

0 comments on commit 682dcb1

Please sign in to comment.