mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[HTML5] Easier HTML templates, better deinit/cleanup.
This commit is contained in:
parent
5c2fe970b8
commit
2972ea3229
10 changed files with 285 additions and 290 deletions
|
@ -749,7 +749,7 @@ DisplayServerJavaScript::DisplayServerJavaScript(const String &p_rendering_drive
|
|||
#endif
|
||||
|
||||
window_set_mode(p_mode);
|
||||
if (godot_js_config_is_resize_on_start()) {
|
||||
if (godot_js_config_canvas_resize_policy_get() == 1) {
|
||||
window_set_size(p_resolution);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue