WoWInterface SVN KuiNameplates

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 126 to Rev 127
    Reverse comparison

Rev 126 → Rev 127

Kui_Nameplates/layout.lua
244,7 → 244,6
------------------------------------------------------- Frame script handlers --
local function OnFrameShow(self)
if self.carrier then
-- TODO or I could just make the positioning a function and call it here
self.carrier.DoShow = true
end
 
456,7 → 455,6
x = (x / uiscale) * scale
y = (y / uiscale) * scale
 
self.carrier:ClearAllPoints()
self.carrier:SetPoint('BOTTOMLEFT', UIParent, 'BOTTOMLEFT', floor(x-(self.carrier:GetWidth()/2)), floor(y))
 
-- show the frame after it's been moved so it doesn't flash
730,7 → 728,10
frame.carrier:SetFrameStrata('BACKGROUND')
frame.carrier:SetSize(frame:GetWidth()/uiscale, frame:GetHeight()/uiscale)
frame.carrier:SetScale(uiscale)
 
 
frame.carrier:SetPoint('CENTER', UIParent)
frame.carrier:Hide()
 
-- [debug]
if _G['KuiNameplatesDebug'] then
frame.carrier:SetBackdrop({ bgFile = kui.m.t.solid })