Build 29069860

This commit is contained in:
Renan LE CARO 2025-04-09 11:40:16 +02:00
parent 13627b6c09
commit b565d47c56
8 changed files with 19 additions and 27 deletions

View file

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