Skip to content

Commit

Permalink
Merge pull request #51 from TylerPentecost/fix-issue-in-cata
Browse files Browse the repository at this point in the history
Fix issue in cata
  • Loading branch information
TylerPentecost authored Nov 2, 2024
2 parents b1c031f + 1d91eb5 commit 45f2685
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions Lib/LibGPIOptions.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local TOCNAME,Addon = ...
Addon.Options=Addon.Options or {}
local Options=Addon.Options
local category, layout

local function Options_CheckButtonRightClick(self,button)
if button=="RightButton" then
Expand Down Expand Up @@ -134,10 +135,12 @@ function Options.AddPanel(Title,noheader,scrollable)
else
Options.Panel[c].parent = Options.Panel[1].name
end

InterfaceOptions_AddCategory(Options.Panel[c])
Options.CurrentPanel=Options.Panel[c]


category, layout = Settings.RegisterCanvasLayoutCategory(Options.Panel[c], Options.Panel[c].name, Options.Panel[c].name)
category.ID = Options.Panel[c].name
Settings.RegisterAddOnCategory(category)
Options.CurrentPanel=Options.Panel[c]

if scrollable then

Options.Panel["scroll"..c]=CreateFrame("ScrollFrame", FrameName.."Scroll", Options.CurrentPanel,"UIPanelScrollFrameTemplate")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 30403
## Interface: 40400, 40401
## Title: RollTracker Classic Z
## Notes: Keeps tracks of /rolls, loot and more
## Version: 1.2.3-alpha-1
## Author: GPI / Erytheia-Razorfen / Zolerii / Roadblock
## Version: 2.0.0
## Author: GPI / Erytheia-Razorfen / Zolerii / Roadblock / Dosmod
## DefaultState: enabled
## SavedVariables: RollTrackerClassicZDB,RollTrackerClassicZLoot

Expand Down

0 comments on commit 45f2685

Please sign in to comment.