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
Branches
No related tags found
No related merge requests found
......@@ -739,6 +739,8 @@ function Canvas() {
d.x = 100
d.y = -100
}
d.scaleFactor = scale1 / 40
d.sprite.scale.x = d.sprite.scale.y = d.scaleFactor
})
data.forEach(function (d) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment