summaryrefslogtreecommitdiff
path: root/modules/webrtc/webrtc_data_channel.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-04 18:43:52 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-04 18:43:52 +0100
commit948cb84e37d8ee242ecb6faf118b695c6ba019ec (patch)
tree53236b26975238868594cd944b0903e5a357a179 /modules/webrtc/webrtc_data_channel.cpp
parenta7853fc04ba79a027f372eb2e8102009c31fec3b (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/webrtc/webrtc_data_channel.cpp')
0 files changed, 0 insertions, 0 deletions