Merge pull request #46845 from Faless/js/4.x_init_canvas_size
[HTML5] Properly set canvas size during setup.
This commit is contained in:
commit
a3cdaa7a09
1 changed files with 1 additions and 0 deletions
|
@ -805,6 +805,7 @@ const GodotDisplay = {
|
|||
canvas.style.left = 0;
|
||||
break;
|
||||
}
|
||||
GodotDisplayScreen.updateSize();
|
||||
if (p_fullscreen) {
|
||||
GodotDisplayScreen.requestFullscreen();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue