Skip to content
Snippets Groups Projects
Commit e0070f3c authored by Christopher Pietsch's avatar Christopher Pietsch
Browse files

keep image scale for map view constant

parent a4839817
No related branches found
No related tags found
Loading
...@@ -739,6 +739,8 @@ function Canvas() { ...@@ -739,6 +739,8 @@ function Canvas() {
d.x = 100 d.x = 100
d.y = -100 d.y = -100
} }
d.scaleFactor = scale1 / 40
d.sprite.scale.x = d.sprite.scale.y = d.scaleFactor
}) })
data.forEach(function (d) { data.forEach(function (d) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment