virtualx-engine/platform
Fabio Alessandrelli 178546ac3e [HTML5] Fix broken layout on load in HiDPI screens
This was caused by the devicePixelRatio being applied twice, once by the
HTML code, once by the OS code.
More specifically, OS.get_window_size() would return the canvas element
size, while OS.set_window_size() would set the element size to the
specified value times the devicePixelRatio.
Calling OS.set_window_size(OS.get_window_size()) would reapply the
devicePixelRatio every time.
This commit changes the behaviour so that OS.set_window_size() do not
apply the devicePixelRatio to the canvas element size, by it divides the
CSS size instead.
2020-11-30 12:07:20 +01:00
..
android [Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface. 2020-11-26 14:25:48 +02:00
iphone Merge pull request #42648 from naithar/fix/native_video_view 2020-11-24 10:41:01 +01:00
javascript [HTML5] Fix broken layout on load in HiDPI screens 2020-11-30 12:07:20 +01:00
linuxbsd Merge pull request #41100 from bruvzg/ctl_text_server_interface 2020-11-28 09:03:15 +01:00
osx [Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface. 2020-11-26 14:25:48 +02:00
server [Complex Text Layouts] Add third-party TextServer dependencies (ICU, HarfBuzz, Graphite). 2020-11-26 13:55:27 +02:00
uwp Export: Reorder options for consistency across platforms 2020-11-20 11:17:50 +01:00
windows [Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface. 2020-11-26 14:25:48 +02:00
register_platform_apis.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00