mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 09:49:18 -05:00
REVIEWED: Formatting, follow raylib coding conventions
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user