From 9b2dcef6ad777265612d3995b514208cc1dfbf8e Mon Sep 17 00:00:00 2001 From: Salikh Gurgenidze Date: Tue, 18 Nov 2025 21:26:05 +0400 Subject: [PATCH] fix: sell cursor on hover --- Guda.toc | 2 +- UI/ItemButton.lua | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Guda.toc b/Guda.toc index e6fc784..9d1057a 100644 --- a/Guda.toc +++ b/Guda.toc @@ -1,7 +1,7 @@ ## Interface: 11200 ## Title: Guda ## Notes: All-in-one bag and bank addon for Turtle WoW -## Author: Claude +## Author: Moomao ## Version: 1.0.0 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index bf5bff8..1117717 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -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