godot/platform/javascript/js
Fabio Alessandrelli 6cff589b5b [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:01:44 +01:00
..
engine [HTML5] Handle contextmenu, webglcontextlost internally. 2021-02-11 07:56:10 +01:00
libs [HTML5] Detect screen scale and DPI. 2021-02-12 12:01:44 +01:00