Skip to content

Commit

Permalink
[Options] Re-Enable Blizz Options
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Jul 24, 2024
1 parent 25fad3b commit bee549d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ function MaxDps:AddToBlizzardOptions()
end)

--InterfaceOptions_AddCategory(optionsFrame)
if InterfaceOptions_AddCategory then
InterfaceOptions_AddCategory(optionsFrame)
else
local category, layout = Settings.RegisterCanvasLayoutCategory(optionsFrame, optionsFrame.name);
Settings.RegisterAddOnCategory(category);
MaxDps.settingsCategory = category
end

self:AddCustomGlowOptions()
end
Expand Down Expand Up @@ -355,4 +362,11 @@ function MaxDps:AddCustomGlowOptions()
end)

--InterfaceOptions_AddCategory(customGlowOptionsFrame)
if InterfaceOptions_AddCategory then
InterfaceOptions_AddCategory(customGlowOptionsFrame)
else
local category, layout = Settings.RegisterCanvasLayoutCategory(customGlowOptionsFrame, customGlowOptionsFrame.parent);
Settings.RegisterAddOnCategory(category);
MaxDps.settingsCategory = category
end
end

0 comments on commit bee549d

Please sign in to comment.