Adjusted initial positions of the bars to not overlap

This commit is contained in:
Hendrik Leppkes
2008-10-15 14:46:17 +02:00
parent bbdf0b06f8
commit b19d8ae23f
4 changed files with 4 additions and 6 deletions
+1 -2
View File
@@ -31,8 +31,7 @@ function BagBarMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create("BagBar", self.db.profile, L["Bag Bar"]), {__index = BagBar})
-- TODO: real start position
self.bar:SetPoint("CENTER")
self.bar:SetPoint("CENTER", 142, -18)
end
self.bar:Enable()
self:ToggleOptions()
+1 -2
View File
@@ -50,8 +50,7 @@ function MicroMenuMod:OnEnable()
v:SetFrameLevel(self.bar:GetFrameLevel() + 1)
end
-- TODO: real start position
self.bar:SetPoint("CENTER")
self.bar:SetPoint("CENTER", -105, 27)
end
self.bar:Enable()
self:ToggleOptions()
+1 -1
View File
@@ -33,7 +33,7 @@ function PetBarMod:OnEnable()
self.bar.buttons = buttons
-- TODO: real positioning
self.bar:ClearSetPoint("CENTER")
self.bar:ClearSetPoint("CENTER", 0, 70)
self.bar:SetScript("OnEvent", PetBar.OnEvent)
+1 -1
View File
@@ -30,7 +30,7 @@ function StanceBarMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create("StanceBar", self.db.profile, L["Stance Bar"]), {__index = StanceBar})
self.bar:ClearSetPoint("CENTER")
self.bar:ClearSetPoint("CENTER", -55, -10)
self.bar:SetScript("OnEvent", StanceBar.OnEvent)
end
self.bar:Enable()