You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
753 B
29 lines
753 B
|
2 years ago
|
--Hide Interface Shortcuts Help Tip on the Appearance-Items tab
|
||
|
|
|
||
|
|
local _, addon = ...
|
||
|
|
|
||
|
|
|
||
|
|
local function EnableModule(state)
|
||
|
|
if not state then return end;
|
||
|
|
|
||
|
|
local index = LE_FRAME_TUTORIAL_WARDROBE_TRACKING_INTERFACE;
|
||
|
|
if index then
|
||
|
|
C_CVar.SetCVarBitfield("closedInfoFrames", index, 1);
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
do
|
||
|
|
local L = addon.L;
|
||
|
|
|
||
|
|
local moduleData = {
|
||
|
|
dbKey = "BlizzFixWardrobeTrackingTip",
|
||
|
|
name = L["ModuleName BlizzFixWardrobeTrackingTip"],
|
||
|
|
description = L["ModuleDescription BlizzFixWardrobeTrackingTip"],
|
||
|
|
toggleFunc = EnableModule,
|
||
|
|
categoryID = 1,
|
||
|
|
uiOrder = 3,
|
||
|
|
moduleAddedTime = 1705561000,
|
||
|
|
};
|
||
|
|
|
||
|
|
addon.ControlCenter:AddModule(moduleData);
|
||
|
|
end
|