Tool Tip fix

Fixes tool tips.
This commit is contained in:
QuoteFox
2020-03-12 08:52:16 +00:00
parent 46ad6c1a9b
commit ce94a5e630
2 changed files with 2 additions and 3 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_w
realIconSize = mapWidth / tilesShown,
tilesShown = tooltip.client_view_h
realIconSize = mapHeight / tilesShown,
resizeRatio = realIconSize / tooltip.tileSize,
//Calculate letterboxing offsets
leftOffset = (map.size.x - mapWidth) / 2,