WoWInterface SVN KuiNameplates

Compare Revisions

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

Rev 127 → Rev 126

Kui_Nameplates/layout.lua
244,6 → 244,7
------------------------------------------------------- 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
 
455,6 → 456,7
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
728,10 → 730,7
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 })