This commit is contained in:
Joe Nilles 2018-09-13 02:39:38 +00:00 committed by GitHub
commit 2723862446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
});