WoWInterface SVN KuiNameplates

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 114 to Rev 115
    Reverse comparison

Rev 114 → Rev 115

Kui_Nameplates/layout.lua
284,7 → 284,8
------------------------------------------------------- Frame script handlers --
local function OnFrameShow(self)
if self.carrier then
self.carrier:Show()
-- TODO or I could just make the positioning a function and call it here
self.carrier.DoShow = true
end
 
-- reset name
417,8 → 418,14
 
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
if self.carrier.DoShow then
self.carrier:Show()
self.carrier.DoShow = nil
end
end
 
 
self.defaultAlpha = self:GetAlpha()
------------------------------------------------------------------- Alpha --
--[[
732,6 → 739,7
local parent
if profile.general.fixaa then
frame.carrier = CreateFrame('Frame', nil, WorldFrame)
frame.carrier:SetFrameStrata('BACKGROUND')
frame.carrier:SetSize(frame:GetWidth()/uiscale, frame:GetHeight()/uiscale)
frame.carrier:SetScale(uiscale)
 
1413,7 → 1421,7
icon = 16
}, {
combopoints = 13,
large = 10, -- TODO this was 11, test at 10
large = 10,
spellname = 9,
name = 9,
small = 8,