I’m having a problem with my tooltip. When I pick an item and hover, the tool tip works fine, but after the item is removed, the tool tip still shows that item when it should not show anything.
That’s how it looks like when I hover
And that’s how it looks like after I removed the item
As you can see it is empty, but it still shows in the tool tip.
Please help
Thanks in a advance.
When you remove an item you need to clear the tool tip. You should be doing is valid checks before you generate the tool tip.
On hover → Is valid [true] show tip, else do nothing
Already did that. Still it doesn’t work. My theory is that even though I removed the image, name and description from the inventory slot, the item data structure is still there. I don’t know how to remove the data structure.. if that’s the case, maybe I need to know how to do that. Any ideas?