mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
style setting for resources
This commit is contained in:
parent
2df06c1b7e
commit
337a62183f
1 changed files with 1 additions and 1 deletions
|
|
@ -1953,7 +1953,7 @@ function drawResources() {
|
||||||
const stroke = Resources.getStroke(resource.color);
|
const stroke = Resources.getStroke(resource.color);
|
||||||
|
|
||||||
if (!drawCircle) {
|
if (!drawCircle) {
|
||||||
resourcesHTML += `<use href="#${resource.icon}" x="${x - 3}" y="${y - 3}" width="6" height="6"/>`;
|
resourcesHTML += `<use data-i="${resource.i}" href="#${resource.icon}" x="${x - 3}" y="${y - 3}" width="6" height="6"/>`;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue