From b65b7351294215a8e8cb5feb8dead5f6c63bfa8b Mon Sep 17 00:00:00 2001 From: "Cameron Weaver (Clutch)" Date: Thu, 28 Sep 2017 14:31:15 -0400 Subject: [PATCH] skin: scale the interface options and remove the black background --- modules/skin.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/skin.lua b/modules/skin.lua index 6f300507..bda4737c 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -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.