mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +00:00
skin: scale the interface options and remove the black background
This commit is contained in:
committed by
Shagu
parent
061425d953
commit
b65b735129
@@ -112,6 +112,29 @@ pfUI:RegisterModule("skin", function ()
|
|||||||
end
|
end
|
||||||
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.
|
-- due to the fontsize, the auctionhouse dropdown menu is misplaced.
|
||||||
-- This hackfix rearranges it, by setting the width of it, as soon as
|
-- This hackfix rearranges it, by setting the width of it, as soon as
|
||||||
-- the auctionhouse window is ready to get hooked.
|
-- the auctionhouse window is ready to get hooked.
|
||||||
|
|||||||
Reference in New Issue
Block a user