mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 14:06:16 -04:00
Automatic deploy 29002316
This commit is contained in:
parent
a4f20abb23
commit
d952139eeb
3 changed files with 10 additions and 7 deletions
|
@ -137,6 +137,9 @@ const fitSize = () => {
|
|||
const {width, height} = canvas.getBoundingClientRect();
|
||||
canvas.width = width;
|
||||
canvas.height = height;
|
||||
ctx.fillStyle=currentLevelInfo()?.color||'black'
|
||||
ctx.globalAlpha=1
|
||||
ctx.fillRect(0,0,width,height)
|
||||
backgroundCanvas.width = width;
|
||||
backgroundCanvas.height = height;
|
||||
|
||||
|
@ -2496,7 +2499,7 @@ Click an item above to start a test run with it.
|
|||
(document.fullscreenEnabled || document.webkitFullscreenEnabled) &&(document.fullscreenElement!==null ?{
|
||||
text: "Exit Fullscreen",
|
||||
help: "Might not work on some machines",
|
||||
value() {
|
||||
value() {
|
||||
if (document.exitFullscreen) {
|
||||
document.exitFullscreen();
|
||||
} else if (document.webkitCancelFullScreen) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue