mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
Fixes issue # 128 where changing the relief icon type to mounts causes a giant icon to appear.
This commit is contained in:
parent
0920b86eaa
commit
fb53089d0f
1 changed files with 1 additions and 1 deletions
|
|
@ -3309,7 +3309,7 @@ function fantasyMap() {
|
|||
const cell = diagram.find(cx, cy).index;
|
||||
const height = cell !== undefined ? cells[cell].height : 50;
|
||||
elSelected.remove();
|
||||
elSelected = addReliefIcon(height, type, cx, cy);
|
||||
elSelected = addReliefIcon(height / 100, type, cx, cy);
|
||||
elSelected.call(d3.drag().on("start", elementDrag));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue