From f669ccc5b137a6421366b60ba8c7d544b54c3e14 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Wed, 30 Nov 2011 17:55:55 +0100 Subject: [PATCH] Don't change the collapse/expand setting --- Thaumaturge.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Thaumaturge.lua b/Thaumaturge.lua index c180284..e0be785 100644 --- a/Thaumaturge.lua +++ b/Thaumaturge.lua @@ -92,16 +92,10 @@ local origSize local origEnter = PaperDollItemSlotButton_OnEnter local origLeave = UIDropDownMenu_OnHide function Thaumaturge:FORGE_MASTER_OPENED() - origSize = CharacterFrame.Expanded - if(not PaperDollFrame:IsVisible()) then ToggleCharacter('PaperDollFrame') end - if(CharacterFrame.Expanded) then - CharacterFrame_Collapse() - end - PaperDollItemSlotButton_OnEnter = ReforgeHook UIDropDownMenu_OnHide = function(...) origLeave(...) @@ -118,10 +112,6 @@ end function Thaumaturge:FORGE_MASTER_CLOSED() PaperDollItemSlotButton_OnEnter = origEnter UIDropDownMenu_OnHide = origLeave - - if(origSize and not CharacterFrame.Expanded) then - CharacterFrame_Expand() - end end function Thaumaturge:PLAYER_LOGIN() -- 1.7.9.5