-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframeLists.lua
More file actions
52 lines (32 loc) · 1.57 KB
/
frameLists.lua
File metadata and controls
52 lines (32 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
local _, L = ...
L.excludedUIPanelWindows = {}
local excludedUIPanelWindows = L.excludedUIPanelWindows
excludedUIPanelWindows["GameMenuFrame"] = {}
excludedUIPanelWindows["VideoOptionsFrame"] = {}
excludedUIPanelWindows["AudioOptionsFrame"] = {}
excludedUIPanelWindows["InterfaceOptionsFrame"] = {}
excludedUIPanelWindows["HelpFrame"] = {}
-- Protected frames. Cannot Show(), Hide() or SetPosition()
-- during combat lockdown. If removed from UIPanelWindows
-- (even if entered into UISpecialFrames), ToggleGameMenu()
-- will not close it during combat lockdown.
-- # SpellBookFrame is protected from the start!
-- # CollectionsJournal becomes protected when the Blizzard_Collections addon is loaded.
-- # DressUpFrame is not protected, but if you remove it from UIPanelWindows,
-- it won't open during combat lockdown!
-- You are able to set a position during combat lockdown,
-- To avoid it from being closed automatically we have done some tricks...
excludedUIPanelWindows["DressUpFrame"] = {}
-- MerchantType means "MerchantFrame, MailFrame, TradeFrame, InspectFrame or ClassTrainerFrame".
-- TradeSkillType means "TradeSkillFrame, ArchaeologyFrame or PlayerTalentFrame".
L.merchantType = {}
L.merchantType["MerchantFrame"] = true
L.merchantType["MailFrame"] = true
L.merchantType["TradeFrame"] = true
L.merchantType["InspectFrame"] = true
L.merchantType["ClassTrainerFrame"] = true
L.merchantType["GossipFrame"] = true
L.tradeSkillType = {}
L.tradeSkillType["TradeSkillFrame"] = true
L.tradeSkillType["ArchaeologyFrame"] = true
L.tradeSkillType["PlayerTalentFrame"] = true