Skip to content

Commit

Permalink
Bugfixes (#562)
Browse files Browse the repository at this point in the history
* Fixed a bug where clicking on a title header would not allow for items to move to that category.

* Fixed a bug where the bank wouldn't sort correctly at times.
  • Loading branch information
Cidan authored Aug 10, 2024
1 parent 94f3584 commit c524cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions data/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ function items:PreSort()
if self._preSort then return end
self._preSort = true
C_Timer.After(0.6, function()
if self._preSort then
self:WipeAndRefreshAll()
end
self:WipeAndRefreshAll()
end)
end

Expand Down
2 changes: 1 addition & 1 deletion frames/section.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function sectionFrame:_DoCreate()
GameTooltip:Hide()
end)

title:RegisterForClicks("RightButtonUp")
title:RegisterForClicks("LeftButtonUp", "RightButtonUp")

title:SetScript("OnClick", function(_, e)
if s.headerDisabled then return end
Expand Down

0 comments on commit c524cda

Please sign in to comment.