REVIEWED: Formatting, follow raylib coding conventions
This commit is contained in:
parent
13e3092511
commit
1e1061d5c7
1 changed files with 77 additions and 78 deletions
|
|
@ -190,7 +190,8 @@ void ToggleFullscreen(void)
|
|||
if (enterFullscreen)
|
||||
{
|
||||
// NOTE: The setTimeouts handle the browser mode change delay
|
||||
EM_ASM(
|
||||
EM_ASM
|
||||
(
|
||||
setTimeout(function()
|
||||
{
|
||||
Module.requestFullscreen(false, false);
|
||||
|
|
@ -298,7 +299,8 @@ void ToggleBorderlessWindowed(void)
|
|||
{
|
||||
// NOTE: 1. The setTimeouts handle the browser mode change delay
|
||||
// 2. The style unset handles the possibility of a width="value%" like on the default shell.html file
|
||||
EM_ASM(
|
||||
EM_ASM
|
||||
(
|
||||
setTimeout(function()
|
||||
{
|
||||
Module.requestFullscreen(false, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue