WoWInterface SVN pMinimap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 91 to Rev 92
    Reverse comparison

Rev 91 → Rev 92

pMinimap/pMinimap.lua
34,7 → 34,11
total = 0.25
 
local x, y = GetPlayerMapPosition('player')
self.Text:SetFormattedText('%.0f,%.0f', x * 100, y * 100)
if(x ~= 0 and y ~= 0 and not IsInInstance()) then
self.Text:SetFormattedText('%.0f,%.0f', x * 100, y * 100)
else
self.Text:SetText()
end
end
end
end
96,6 → 100,8
end
 
local function Initialize(self)
Minimap:EnableMouseWheel()
Minimap:SetScript('OnMouseWheel', onMouseWheel)
MinimapZoomIn:Hide()
MinimapZoomOut:Hide()
 
147,8 → 153,6
MiniMapVoiceChatFrame.Show = MiniMapVoiceChatFrame.Hide
MinimapNorthTag:SetAlpha(0)
 
Minimap:EnableMouseWheel()
Minimap:SetScript('OnMouseWheel', onMouseWheel)
Minimap:SetScale(self.db.scale)
Minimap:SetFrameLevel(self.db.level)
Minimap:SetFrameStrata(self.db.strata)
248,7 → 252,6
pMinimapDB.unlocked = false
 
self.db = pMinimapDB
self.onCoordUpdate = onUpdate
self:UnregisterEvent(event)
 
InterfaceOptionsDisplayPanelShowClock.setFunc('1')