View Single Post
08-26-22, 01:02 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
I would have your OnEnter handler check CursorHasItem() and show the tooltip if you're not holding one. Additionally have onReceive() show the tooltip when it's done processing the cursor.

Alternatively, you can just let the tooltip show what the button is already set to and have onReceive() update it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote