Verified Commit b845f42b authored by Repooc's avatar Repooc
Browse files

fix not being able to open config to correct location on some movers

parent 3c7d3a0b
......@@ -454,7 +454,7 @@ function AB:CreateVehicleLeave()
local holder = CreateFrame('Frame', 'VehicleLeaveButtonHolder', E.UIParent)
holder:Point('BOTTOM', E.UIParent, 'BOTTOM', 0, 300)
holder:Size(_G.MainMenuBarVehicleLeaveButton:GetSize())
E:CreateMover(holder, 'VehicleLeaveButton', L["VehicleLeaveButton"], nil, nil, nil, 'ALL,ACTIONBARS', nil, 'actionbar,vehicleExitButton')
E:CreateMover(holder, 'VehicleLeaveButton', L["VehicleLeaveButton"], nil, nil, nil, 'ALL,ACTIONBARS', nil, 'actionbar,extraButtons,vehicleExitButton')
local Button = _G.MainMenuBarVehicleLeaveButton
Button:ClearAllPoints()
......
......@@ -172,8 +172,8 @@ function AB:SetupExtraButton()
AB:ExtraButtons_UpdateScale()
AB:ExtraButtons_GlobalFade()
E:CreateMover(ExtraActionBarHolder, 'BossButton', L["Boss Button"], nil, nil, nil, 'ALL,ACTIONBARS', nil, 'actionbar,extraActionButton')
E:CreateMover(ZoneAbilityHolder, 'ZoneAbility', L["Zone Ability"], nil, nil, nil, 'ALL,ACTIONBARS')
E:CreateMover(ExtraActionBarHolder, 'BossButton', L["Boss Button"], nil, nil, nil, 'ALL,ACTIONBARS', nil, 'actionbar,extraButtons,extraActionButton')
E:CreateMover(ZoneAbilityHolder, 'ZoneAbility', L["Zone Ability"], nil, nil, nil, 'ALL,ACTIONBARS', nil, 'actionbar,extraButtons,extraActionButton')
-- Spawn the mover before its available.
ZoneAbilityHolder:Size(52 * E.db.actionbar.zoneActionButton.scale)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment