Skip to content

Commit

Permalink
Update Filtered header to reflect 100 item limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Jun 11, 2024
1 parent e65da0f commit cdc7744
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ function app.Update()
local offset = -2
if #app.ArmourLoot >= 1 then offset = -16*#app.ArmourLoot end
app.Window.Filtered:SetPoint("TOPLEFT", app.Window.Armour, "BOTTOMLEFT", 0, offset)
if #app.FilteredLoot >= 1 then
if #app.FilteredLoot >= 100 then
app.FilteredHeader:SetText("Filtered (100+)")
elseif #app.FilteredLoot >= 1 then
app.FilteredHeader:SetText("Filtered ("..#app.FilteredLoot..")")
else
app.FilteredHeader:SetText("Filtered")
Expand Down

0 comments on commit cdc7744

Please sign in to comment.