File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1027,14 +1027,13 @@ function module:GetGearSlotInfo(unit, slot)
10271027end
10281028
10291029local function HandleCharacterFrameExpand ()
1030- local frame = _G .CharacterFrame
1031- local showStatus = E .db .cataarmory .character .expandButton .autoExpand
1030+ local db = E .db .cataarmory .character .expandButton
10321031 if _G .PaperDollFrame :IsVisible () or _G .PetPaperDollFrame :IsVisible () then
1033- if _G .CharacterStatsPane :IsShown () ~= showStatus then
1032+ if _G .CharacterStatsPane :IsShown () ~= db . autoExpand then
10341033 _G .CharacterFrameExpandButton :Click ()
10351034 end
10361035 end
1037- _G .CharacterFrameExpandButton :SetShown (not E . db . cataarmory . character . expandButton .hide )
1036+ _G .CharacterFrameExpandButton :SetShown (not db .hide )
10381037end
10391038
10401039local function ControlFrame_OnShow (frame )
You can’t perform that action at this time.
0 commit comments