- fixed text getting rotated along with bars when choosing the "rotate 90 degrees" option

This commit is contained in:
Parnic
2010-10-14 01:31:47 +00:00
parent d83f0b23fd
commit 272f0fd42d
5 changed files with 13 additions and 6 deletions

View File

@ -818,7 +818,7 @@ end
-- Creates background for the bar
function IceBarElement.prototype:CreateBackground()
if not (self.frame) then
self.frame = CreateFrame("Frame", "IceHUD_"..self.elementName, self.parent)
self.frame = CreateFrame("Frame", "IceHUD_"..self.elementName, self.masterFrame)
end
self.frame:SetFrameStrata("BACKGROUND")