WoWInterface SVN pMinimap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 96 to Rev 95
    Reverse comparison

Rev 96 → Rev 95

trunk/pMinimap/pMinimap.lua
18,7 → 18,6
local onUpdate, onClickClock, onClickCoord, onMouseWheel
local defaults = {
coords = false,
coordsDecimals = 0,
clock = true,
dura = true,
mail = true,
47,7 → 46,7
 
local x, y = GetPlayerMapPosition('player')
if(x ~= 0 and y ~= 0 and not IsInInstance()) then
self.Text:SetFormattedText('%.'..pMinimapDB.coordsDecimals..'f,%.'..pMinimapDB.coordsDecimals..'f', x * 100, y * 100)
self.Text:SetFormattedText('%.0f,%.0f', x * 100, y * 100)
else
self.Text:SetText()
end
239,7 → 238,7
self.Coord:RegisterForClicks('AnyUp')
 
self.Coord.Text = self.Coord:CreateFontString(nil, 'OVERLAY')
self.Coord.Text:SetPoint('BOTTOMRIGHT', self.Coord)
self.Coord.Text:SetPoint('CENTER', self.Coord)
self.Coord.Text:SetFont(LSM:Fetch('font', self.db.smfont), self.db.fontsize, self.db.fontflag)
self.Coord.Text:SetTextColor(1, 1, 1)