Adjusted initial positions of the bars to not overlap
This commit is contained in:
+1
-2
@@ -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
@@ -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
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user