mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 14:06:16 -04:00
Automatic deploy 29002312
This commit is contained in:
parent
95d94b5220
commit
a4f20abb23
3 changed files with 18 additions and 8 deletions
|
@ -2493,7 +2493,17 @@ Click an item above to start a test run with it.
|
|||
|
||||
...optionsList,
|
||||
|
||||
// (window.screenTop || window.screenY) &&
|
||||
(document.fullscreenEnabled || document.webkitFullscreenEnabled) &&(document.fullscreenElement!==null ?{
|
||||
text: "Exit Fullscreen",
|
||||
help: "Might not work on some machines",
|
||||
value() {
|
||||
if (document.exitFullscreen) {
|
||||
document.exitFullscreen();
|
||||
} else if (document.webkitCancelFullScreen) {
|
||||
document.webkitCancelFullScreen();
|
||||
}
|
||||
}
|
||||
}:
|
||||
{
|
||||
text: "Fullscreen",
|
||||
help: "Might not work on some machines",
|
||||
|
@ -2505,7 +2515,7 @@ Click an item above to start a test run with it.
|
|||
docel.webkitRequestFullscreen();
|
||||
}
|
||||
}
|
||||
},
|
||||
}),
|
||||
{
|
||||
text: 'Reset Game',
|
||||
help: "Erase high score and statistics",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue