WoWInterface SVN zz_Coords

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 73 to Rev 74
    Reverse comparison

Rev 73 → Rev 74

trunk/zz_Coords/core.lua
110,24 → 110,6
end
end
 
local function MouseOut(self)
addon['qtip']:Release(self['tooltip'])
self['tooltip'] = nil
end
 
local function MouseIn(self,adjustedX, adjustedY,playerCoords)
if(db['hideMapCoords']) then return end
local tip = addon['qtip']:Acquire(childName.."QTip",2)
tip:SetParent(WorldMapFrame)
tip:SetPoint("BOTTOMRIGHT",WorldMapFrame,"BOTTOMRIGHT",-30,0)
tip:Clear()
self['tooltip'] = tip
tip:AddLine(L["Cursor"],format("%.1f, %.1f",adjustedX, adjustedY))
tip:AddLine(L["Player"],playerCoords)
tip:SetBackdropColor(gt_r, gt_g, gt_b, .5)
tip:Show()
end
 
local function OnDataUpdate()
setPlayerCoords()
if(zoneText and zoneText~="") then