reduced-actionbar: always restore frame positions

This commit is contained in:
shagu
2024-11-08 22:11:58 +01:00
parent 0c8c261d38
commit 846c5bf5a5
+6
View File
@@ -151,6 +151,12 @@ module.enable = function(self)
CastingBarFrame:SetPoint("BOTTOM", anchor, "TOP", 0, 10 + pet_offset)
end
-- restore frame positions when UIParent becomes visible
local restore = CreateFrame("Frame", nil, UIParent)
restore:SetScript("OnShow", function()
UIParent_ManageFramePositions()
end)
-- enable picking up/replacing bags by clicking on the container frame portrait
for i = 1, 5 do
_G["ContainerFrame" .. i .. "PortraitButton"]:SetScript("OnClick", ReplaceBag)