godot/platform/javascript/js
Fabio Alessandrelli b3f78687de [HTML5] Detect screen scale and DPI.
`OS.get_screen_scale` will now return the `window.devicePixelRatio`
value, `OS.get_screen_dpi` uses CSS media queries to find approximate
DPI value for the current display.
`OS.get_screen_size` also return the actual screen size (not the CSS
pixel size).
2021-02-12 12:02:30 +01:00
..
engine [HTML5] Handle contextmenu, webglcontextlost internally. 2021-02-11 08:00:53 +01:00
libs [HTML5] Detect screen scale and DPI. 2021-02-12 12:02:30 +01:00