Revert "Revert "pls""

This reverts commit b23f2a4460.
This commit is contained in:
Fermi
2019-11-24 03:02:21 +00:00
parent 9eaed4ea8e
commit 4c1c257035
3003 changed files with 157190 additions and 64046 deletions
+2 -2
View File
@@ -122,8 +122,8 @@
//Get the real icon size according to the client view
var mapWidth = map['view-size'].x,
mapHeight = map['view-size'].y,
tilesShown = tooltip.client_view_h
realIconSize = mapHeight / tilesShown,
tilesShown = tooltip.client_view_w
realIconSize = mapWidth / tilesShown,
resizeRatio = realIconSize / tooltip.tileSize,
//Calculate letterboxing offsets
leftOffset = (map.size.x - mapWidth) / 2,