mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Unit bars now have an option to pulse on set threshold
This commit is contained in:
@ -275,13 +275,13 @@ function IceBarElement.prototype:CreateBar()
|
||||
self.barFrame = CreateFrame("StatusBar", nil, self.frame)
|
||||
end
|
||||
|
||||
self.barFrame:SetFrameStrata("BACKGROUND")
|
||||
self.barFrame:SetFrameStrata("HIGH")
|
||||
self.barFrame:SetWidth(self.settings.barWidth)
|
||||
self.barFrame:SetHeight(self.settings.barHeight)
|
||||
|
||||
|
||||
if not (self.barFrame.bar) then
|
||||
self.barFrame.bar = self.frame:CreateTexture(nil, "BACKGROUND")
|
||||
self.barFrame.bar = self.frame:CreateTexture(nil, "MEDIUM")
|
||||
end
|
||||
|
||||
self.barFrame.bar:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
|
||||
|
Reference in New Issue
Block a user