diff options
author | Michael Riss <Michael.Riss@gmx.de> | 2013-02-21 12:11:48 +0100 |
---|---|---|
committer | Michael Riss <Michael.Riss@gmx.de> | 2013-03-06 10:44:36 +0100 |
commit | a7fa2859f29a1e9a4ed629c4105d56c83a9ea7fb (patch) | |
tree | 7b743a7a26182fb3adf273ebd484a324d1d96fac /src/shell.html | |
parent | 65d005e3a28efbdf5f9ecfee21500243964e421e (diff) |
Fixes for the full screen implementation:
- formatting fixes
- added comments (for the SDL_FULLSCREEN flag)
- add event handlers only once and communicate through object variables
(Browser.lockPointer and Browser.resizeCanvas)
Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
Diffstat (limited to 'src/shell.html')
-rw-r--r-- | src/shell.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.html b/src/shell.html index 3341e2b9..6f712a0a 100644 --- a/src/shell.html +++ b/src/shell.html @@ -23,7 +23,7 @@ <input type="button" value="only fullscreen" onclick="Module.requestFullScreen(false, false)"> <input type="button" value="fullscreen + resize" onclick="Module.requestFullScreen(false, true)"> <input type="button" value="fullscreen + pointerLock" onclick="Module.requestFullScreen()"> <!--default--> - <input type="button" value="fullscreen + pointerLock + resize" onclick="Module.requestFullScreen( true, true)"> + <input type="button" value="fullscreen + pointerLock + resize" onclick="Module.requestFullScreen(true, true)"> </div> <hr/> |