diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-04 18:43:52 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-04 18:43:52 +0100 |
commit | 948cb84e37d8ee242ecb6faf118b695c6ba019ec (patch) | |
tree | 53236b26975238868594cd944b0903e5a357a179 /modules/gridmap/grid_map.cpp | |
parent | a7853fc04ba79a027f372eb2e8102009c31fec3b (diff) |
Take the editor scale into account for 2D zoom operations
The zoom level displayed is now relative to the editor scale.
This means that with an editor scale of 200%, the 100% zoom level
will actually be 200% as it's multiplied by the editor scale.
This prevents things from looking too small when opening a project
on an hiDPI display.
This matches the behavior found in most image editors out there.
Diffstat (limited to 'modules/gridmap/grid_map.cpp')
0 files changed, 0 insertions, 0 deletions