View Single Post
09-30-19, 10:59 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
I'm not familiar with the "official" way to drag and drop items, but something like this should work:

Lua Code:
  1. frame:SetScript("OnClick",function(
  2.     -- GetCursorInfo()
  3.     -- ClearCursor()
  4. end)

This is just a thought process. I don't know if the cursor item clears on any click not on the world frame (which triggers the delete), but if it does, you may need to temporarily cache what the info returns in an OnEnter script then submit the item to your list on the click.
  Reply With Quote