fix: fade out sort icon when sort is in progress

This commit is contained in:
Salikh Gurgenidze
2026-01-04 22:01:33 +04:00
parent 1ceccc9875
commit 1e3561a5e0
3 changed files with 32 additions and 3 deletions
+3 -1
View File
@@ -1096,8 +1096,9 @@ function Guda_BankFrame_MergeStacks()
return
end
-- Set sorting flag
-- Set sorting flag and update button appearance
addon.Modules.SortEngine.sortingInProgress = true
addon.Modules.SortEngine:UpdateSortButtonState(true)
-- Process queue with delays
local queueIndex = 1
@@ -1108,6 +1109,7 @@ function Guda_BankFrame_MergeStacks()
if queueIndex > table.getn(moveQueue) then
addon:Print("Merged " .. totalMoves .. " stack(s)")
addon.Modules.SortEngine.sortingInProgress = false
addon.Modules.SortEngine:UpdateSortButtonState(false)
BankFrame:Update()
return
end