/
if(not(x == 100 or y==100 or x==0 or y==0)) then |
str = format("%s Mouse: %.1f / %.1f",str,x,y) |
end |
local pinfo = C_Map.GetPlayerMapPosition(mapID,"player") |
if(pinfo and pinfo.x and pinfo.y) then |
str = format("%s Player: %.1f / %.1f",str,pinfo.x * 100,pinfo.y * 100) |
if(mapID) then |
local x,y = C_Map.GetPlayerMapPosition(mapID,"player"):GetXY() |
if(x and y) then |
str = format("%s Player: %.1f / %.1f",str,x * 100,y * 100) |
end |
end |
coordText:SetText(str) |
if(not db['hideMapCoords']) then |