WoWInterface SVN KuiNameplates

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 119 to Rev 120
    Reverse comparison

Rev 119 → Rev 120

Kui_Nameplates/layout.lua
682,14 → 682,10
end
 
function ns.f:IsNameplate(frame)
if frame:GetName() and not string.find(frame:GetName(), "^NamePlate") then
return false
if frame:GetName() and string.find(frame:GetName(), '^NamePlate%d') then
local overlayRegion = select(2, frame:GetRegions())
return (overlayRegion and overlayRegion:GetObjectType() == 'Texture')
end
 
local overlayRegion = select(2, frame:GetRegions())
return (overlayRegion and
overlayRegion:GetObjectType() == "Texture" and
overlayRegion:GetTexture() == "Interface\\Tooltips\\Nameplate-Border")
end
 
function ns.f:InitFrame(frame)
1429,7 → 1425,7
height = 11,
-- cast bar stuff
cbheight = 14,
icon = 16
icon = 16,
}, {
combopoints = 13,
large = 10,