Fix some anchoring issues

This commit is contained in:
Hendrik Leppkes
2009-06-27 17:56:58 +02:00
parent 4eda77cd4f
commit dd3c27339d
+3 -1
View File
@@ -30,6 +30,8 @@ function MultiCastMod:OnEnable()
self.bar.content = MultiCastActionBarFrame self.bar.content = MultiCastActionBarFrame
self.bar.content:SetScript("OnShow", nil) self.bar.content:SetScript("OnShow", nil)
self.bar.content:SetScript("OnHide", nil) self.bar.content:SetScript("OnHide", nil)
self.bar.content:SetScript("OnUpdate", nil)
self.bar.content.ignoreFramePositionManager = true
self.bar.content:SetParent(self.bar) self.bar.content:SetParent(self.bar)
self.bar.content:Show() self.bar.content:Show()
@@ -54,5 +56,5 @@ function MultiCastBar:PerformLayout()
self:SetSize(240, 43) self:SetSize(240, 43)
local bar = self.content local bar = self.content
bar:ClearAllPoints() bar:ClearAllPoints()
bar:SetPoint("TOPLEFT", self, "TOPLEFT", 0, 0) bar:SetPoint("TOPLEFT", self, "TOPLEFT", -26, 5)
end end