mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-16 19:25:06 -04:00
Build 29069860
This commit is contained in:
parent
13627b6c09
commit
b565d47c56
8 changed files with 19 additions and 27 deletions
|
@ -20,12 +20,8 @@ export function levelIconHTML(
|
|||
c.width = size;
|
||||
c.height = size;
|
||||
|
||||
if (color) {
|
||||
ctx.fillStyle = color;
|
||||
ctx.fillRect(0, 0, size, size);
|
||||
} else {
|
||||
ctx.clearRect(0, 0, size, size);
|
||||
}
|
||||
ctx.clearRect(0, 0, size, size);
|
||||
|
||||
const pxSize = size / levelSize;
|
||||
for (let x = 0; x < levelSize; x++) {
|
||||
for (let y = 0; y < levelSize; y++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue