Skip to content

Commit

Permalink
2.5.3
Browse files Browse the repository at this point in the history
Fixed error when the Filter Button is disabled
  • Loading branch information
Noshei committed Sep 30, 2024
1 parent 6e3bc71 commit 5082a06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions FilterButton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ function GT:FiltersButton(profileChanged)
end

function GT:AnchorFilterButton()
if not GT.baseFrame.button then
return
end

-- 25 is the size of the filter button, so if any part of the button is off screen it will be moved
local UITop = UIParent:GetTop() - 25
local UILeft = UIParent:GetLeft() + 25
Expand Down
2 changes: 1 addition & 1 deletion GatheringTracker.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: Gathering Tracker
## Notes: Addon for tracking gathered items, supports solo players and groups
## Author: Noshei
## Version: 2.5.2
## Version: 2.5.3
## OptionalDeps: TradeSkillMaster
## SavedVariables: GatheringTrackerDB
## AddonCompartmentFunc: GatheringTracker_OnAddonCompartmentClick
Expand Down

0 comments on commit 5082a06

Please sign in to comment.