skin: scale the interface options and remove the black background

This commit is contained in:
Cameron Weaver (Clutch)
2017-09-28 14:31:15 -04:00
committed by Shagu
parent 061425d953
commit b65b735129
+23
View File
@@ -112,6 +112,29 @@ pfUI:RegisterModule("skin", function ()
end
end
UIOptionsFrame:SetScript("OnShow", function()
-- default events
UIOptionsFrame_Load();
MultiActionBar_Update();
MultiActionBar_ShowAllGrids();
Disable_BagButtons();
UpdateMicroButtons();
-- customize
UIOptionsBlackground:Hide()
UIOptionsFrame:SetMovable(true)
UIOptionsFrame:EnableMouse(true)
UIOptionsFrame:SetScale(.8)
UIOptionsFrame:SetScript("OnMouseDown",function()
UIOptionsFrame:StartMoving()
end)
UIOptionsFrame:SetScript("OnMouseUp",function()
UIOptionsFrame:StopMovingOrSizing()
end)
end)
-- due to the fontsize, the auctionhouse dropdown menu is misplaced.
-- This hackfix rearranges it, by setting the width of it, as soon as
-- the auctionhouse window is ready to get hooked.