Skip to content
Snippets Groups Projects
Commit cedc67bb authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix for SourceForge issue 134

Translation from mouse coordinates to screen coordinates had issues
with internal vs. external scaling and for when there are gutters
(ie: black bars) on the edges.

This change snaps all gutter clicks to the nearest position inside
the window instead of discarding them, and ensures the calculations
are correct regardless of scaling mode.

Win32GDI mode was not tested, the only change there was to stop
ignoring mouse positions in the gutters.
parent 3e9534f8
No related branches found
No related tags found
No related merge requests found
Pipeline #6072 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment