SexyMap

SexyMap

31M Downloads

Coords text goes beyond its frame

trashgorger opened this issue ยท 1 comments

commented

Form width calculated on coords (0.0, 0.0) or simply after the /reload is smaller than max.
So this can appear:

arfarf

Possible solution is making the text always at max length padding with spaces if needed.
File Coordinates.lua, string 210:

		coordsText:SetFormattedText("%.1f, %.1f", x and x*100 or 0, y and y*100 or 0)

change on

		coordsText:SetFormattedText("%5.1f, %5.1f ", x and x*100 or 0, y and y*100 or 0)

will work just fine.

commented

This should be fixed in 05997db let me know if it's not.