mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
removed inconsistency
This commit is contained in:
parent
5bf6afdcd2
commit
ccd60b2708
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ function editMarker(markerI) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function redrawIcon({i, hidden, icon, dx = 50, dy = 50, px = 12}) {
|
function redrawIcon({i, hidden, icon, dx = 50, dy = 50, px = 12}) {
|
||||||
const isExternal = icon.startsWith("http") || icon.startsWith("data:image/");
|
const isExternal = icon.startsWith("http") || icon.startsWith("data:image");
|
||||||
|
|
||||||
const iconText = !hidden && document.querySelector(`#marker${i} > text`);
|
const iconText = !hidden && document.querySelector(`#marker${i} > text`);
|
||||||
if (iconText) {
|
if (iconText) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue