ugh
This commit is contained in:
Fermi
2019-11-24 02:47:52 +00:00
parent 135608551f
commit 8c97511871
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,