Skip to content

Commit a219647

Browse files
committed
Update interface number and fixed deprecated InterfaceOptions_AddCategory API
1 parent f36b1c7 commit a219647

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v1.3.15
2+
- Update for The War Within (11.0.0) (new interface number)
3+
- Options panel no longer uses deprecated `InterfaceOptions_AddCategory` API
4+
15
## v1.3.14
26
- Update for Dark Heart (10.2.7) (new interface number)
37

phisHideUI.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ end
260260

261261
local options = CreateFrame('Frame', 'phisOptionsFrame', SettingsPanel.Container)
262262
options.name = GetAddOnMetadata(addonName,'Title')
263-
InterfaceOptions_AddCategory(options)
263+
local category = Settings.RegisterCanvasLayoutCategory(options, options.name)
264+
Settings.RegisterAddOnCategory(category)
264265
options:SetScript('OnShow', function()
265266

266267
--- HEADER --

phisHideUI.toc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Interface: 100207
1+
## Interface: 110000
22
## Title: phisHideUI
3-
## Version: 1.3.14
3+
## Version: 1.3.15
44
## Notes: The addon hides all currently displayed unit names, chat bubbles and pet tracking icons when hiding the UI (e.g. with '|cFF40C7EBAlt-Z|r').
55
## Author: phistoh
66
## IconTexture: 132320

0 commit comments

Comments
 (0)