diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-01-30 11:35:03 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-02-19 05:12:32 +0100 |
commit | 65abf94675fbd7fddf8b3350efd15507ed3fb76a (patch) | |
tree | 1a7e0f39b69bc071fb6da2c048440549e06e5348 /scene/2d/canvas_modulate.h | |
parent | 2972ea32297adfd9cc08c81dd85339679365f52e (diff) |
[HTML5] Better fullscreen, canvas resizing.
Three canvas resize policies:
- `None`: Godot window settings are ignored.
- `Project`: Godot handles the canvas like a native app (resizing it
when setting the window size).
- `Adaptive`: Canvas size will always adapt to browser window size.
Use `None` if you want to control the canvas size with custom JavaScript
code.
Diffstat (limited to 'scene/2d/canvas_modulate.h')
0 files changed, 0 insertions, 0 deletions