Skip to content

Commit

Permalink
Interface fixes for SoD BWL patch and Classic Era
Browse files Browse the repository at this point in the history
  • Loading branch information
getov committed Sep 25, 2024
1 parent 1338764 commit 54ed00b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CharacterStatsClassic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11503
## Interface: 11504
## Author: Peter Getov
## Version: 3.9.0
## Version: 3.9.1
## Title: |cff00aeffCharacterStatsClassic|r
## Notes: Advanced Character Stats
## DefaultState: enabled
Expand Down
6 changes: 5 additions & 1 deletion CharacterStatsClassicUI.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- Namespaces
-- core - table (namespace) shared between every lua file
local addonName, core = ...;
local category, layout
core.UIConfig = {};

-- Defaults
Expand Down Expand Up @@ -195,7 +196,10 @@ function UIConfig:SetupConfigInterface()

CSC_ConfigFrame = CreateFrame("Frame", "CSC_InterfaceOptionsPanel", UIParent);
CSC_ConfigFrame.name = "CharacterStatsClassic";
InterfaceOptions_AddCategory(CSC_ConfigFrame);

category, layout = Settings.RegisterCanvasLayoutCategory(CSC_ConfigFrame, CSC_ConfigFrame.name, CSC_ConfigFrame.name);
category.ID = CSC_ConfigFrame.name
Settings.RegisterAddOnCategory(category);

-- Title and font
CSC_ConfigFrame.title = CreateFrame("Frame", "CharacterStatsClassic", CSC_ConfigFrame);
Expand Down

0 comments on commit 54ed00b

Please sign in to comment.