mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Added names for "main" frames
This commit is contained in:
@ -7,7 +7,7 @@ IceBarElement.BackgroundAlpha = 0.25
|
||||
|
||||
IceBarElement.TexturePath = IceHUD.Location .. "\\textures\\"
|
||||
IceBarElement.BackgroundTexture = IceHUD.Location .. "\\textures\\HiBarBG"
|
||||
IceBarElement.BarProportion = 0.35
|
||||
IceBarElement.BarProportion = 0.36
|
||||
IceBarElement.BarTextureWidth = 128
|
||||
|
||||
IceBarElement.prototype.barFrame = nil
|
||||
@ -129,7 +129,7 @@ end
|
||||
-- Creates background for the bar
|
||||
function IceBarElement.prototype:CreateBackground()
|
||||
if not (self.frame) then
|
||||
self.frame = CreateFrame("StatusBar", nil, self.parent)
|
||||
self.frame = CreateFrame("StatusBar", "IceHUD_"..self.name, self.parent)
|
||||
end
|
||||
|
||||
self.frame:SetFrameStrata("BACKGROUND")
|
||||
|
Reference in New Issue
Block a user