Fix icon size in burg editor.

This commit is contained in:
sofronaspe 2025-01-11 14:23:35 -05:00
parent efbca32881
commit 9ce260af29
2 changed files with 10 additions and 3 deletions

View file

@ -1002,10 +1002,10 @@ function drawResources() {
// continue;
// }
resourcesHTML += `<g>
resourcesHTML += `<svg>
<circle data-i="${resource.i}" cx=${x} cy=${y} r="3" fill="${resource.color}" stroke="${stroke}" />
<use href="#${resource.icon}" x="${x - 3}" y="${y - 3}" width="6" height="6"/>
</g>`;
</svg>`;
}
goods.html(resourcesHTML);