File tree Expand file tree Collapse file tree 1 file changed +14
-23
lines changed
Boilerplate_!Base/src/lib Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Original file line number Diff line number Diff line change @@ -193,29 +193,20 @@ X.RegisterInit(X.NSFormatString('{$NS}#BIND_HOTKEY'), function()
193193 end
194194end )
195195if X .PACKET_INFO .DEBUG_LEVEL <= X .DEBUG_LEVEL .DEBUG then
196- local aFrame = {
197- ' Lowest2/ChatPanel1' ,
198- ' Lowest2/ChatPanel2' ,
199- ' Lowest2/ChatPanel3' ,
200- ' Lowest2/ChatPanel4' ,
201- ' Lowest2/ChatPanel5' ,
202- ' Lowest2/ChatPanel6' ,
203- ' Lowest2/ChatPanel7' ,
204- ' Lowest2/ChatPanel8' ,
205- ' Lowest2/ChatPanel9' ,
206- ' Lowest2/EditBox' ,
207- ' Normal1/ChatPanel1' ,
208- ' Normal1/ChatPanel2' ,
209- ' Normal1/ChatPanel3' ,
210- ' Normal1/ChatPanel4' ,
211- ' Normal1/ChatPanel5' ,
212- ' Normal1/ChatPanel6' ,
213- ' Normal1/ChatPanel7' ,
214- ' Normal1/ChatPanel8' ,
215- ' Normal1/ChatPanel9' ,
216- ' Normal1/EditBox' ,
217- ' Normal/' .. X .PACKET_INFO .NAME_SPACE ,
218- }
196+ local aFrame = {}
197+ for _ , v in pairs ({
198+ ' Normal' ,
199+ ' Normal1' ,
200+ ' Lowest2' ,
201+ }) do
202+ for i = 1 , 9 do
203+ table.insert (aFrame , v .. ' /ChatPanel' .. i )
204+ table.insert (aFrame , v .. ' /ChatPanel_Normal' .. i )
205+ end
206+ table.insert (aFrame , v .. ' /EditBox' )
207+ table.insert (aFrame , v .. ' /ChatPanel_Recently' )
208+ table.insert (aFrame , v .. ' /' .. X .PACKET_INFO .NAME_SPACE )
209+ end
219210 X .RegisterHotKey (X .NSFormatString (' {$NS}_STAGE_CHAT' ), _L [' Display only chat panel' ], function ()
220211 if Station .IsVisible () then
221212 for _ , v in ipairs (aFrame ) do
You can’t perform that action at this time.
0 commit comments