Fullscreen mode now uses window.outerWidth/Height when using EXACT_FIT as the scale mode, which fixes input coordinate errors (fixes #232)

Fullscreen mode now works in Internet Explorer and uses the new fullscreen non-prefix call.
This commit is contained in:
photonstorm
2014-02-25 21:16:56 +00:00
parent 741249043c
commit db2e3733c2
6 changed files with 105 additions and 30 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ function onLeaveFullScreen() {
function gofull() {
game.scale.startFullScreen();
game.scale.startFullScreen(false);
}
+4
View File
@@ -106,11 +106,15 @@
<input type="button" id="step" value="step" />
<input type="button" id="start" value="start" style="margin-left: 32px" />
<div style="padding: 32px">
<h2>work in progress examples</h2>
<?php
echo printJSLinks('wip', $files);
?>
</div>
</body>
</html>