mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[HTML5] Easier HTML templates, better deinit/cleanup.
This commit is contained in:
parent
1a740e87be
commit
1eef8a318b
10 changed files with 288 additions and 296 deletions
|
@ -893,7 +893,7 @@ Error OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver,
|
|||
if (p_desired.fullscreen) {
|
||||
godot_js_display_window_request_fullscreen();
|
||||
}
|
||||
if (godot_js_config_is_resize_on_start()) {
|
||||
if (godot_js_config_canvas_resize_policy_get() == 1) {
|
||||
set_window_size(Size2(video_mode.width, video_mode.height));
|
||||
} else {
|
||||
set_window_size(get_window_size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue