Automatic deploy 29002316

This commit is contained in:
Renan LE CARO 2025-02-21 12:56:30 +01:00
parent a4f20abb23
commit d952139eeb
3 changed files with 10 additions and 7 deletions

View file

@ -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) {

View file

@ -8,16 +8,16 @@
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Breakout 71</title>
<link rel="stylesheet" href="style.css?v=29002312" />
<link rel="stylesheet" href="style.css?v=29002316" />
<link rel="icon" href="./icon.svg" />
</head>
<body>
<button id="menu"><span> menu</span></button>
<button id="score"></button>
<canvas id="game"></canvas>
<script>window.appVersion="?v=29002312".slice(3)</script>
<script>window.appVersion="?v=29002316".slice(3)</script>
<script src="gif.js"></script>
<script src="levels.js?v=29002312"></script>
<script src="game.js?v=29002312"></script>
<script src="levels.js?v=29002316"></script>
<script src="game.js?v=29002316"></script>
</body>
</html>