fix: sell cursor on hover

This commit is contained in:
Salikh Gurgenidze
2025-11-18 21:26:05 +04:00
parent 2e0ef6856b
commit 9b2dcef6ad
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -279,11 +279,19 @@ function Guda_ItemButton_OnEnter(self)
end
GameTooltip:Show()
-- Handle merchant sell cursor (same approach as BagShui)
if MerchantFrame:IsShown() and not self.isBank and not self.otherChar and self.hasItem then
ShowContainerSellCursor(self.bagID, self.slotID)
else
ResetCursor()
end
end
-- OnLeave handler
function Guda_ItemButton_OnLeave(self)
GameTooltip:Hide()
ResetCursor()
end
-- OnDragStart handler