forked from mirrors/0ad
ff28ac36a6
Tooltip shouldnt receive any mouse event direct, there is a edge case when you have a big tooltip and the object that need that tooltip is in the bottom left, at this moment tooltip is in the same position of the mouse, current code was returning the tooltip, and the code hide the tooltip, and find again there is another object that needs the tooltip and show again. To fix this is just than simple to set a tooltip like ghost because shouldnt receive any mouse event.