To begin, I’ve got two buttons placed next to each other, the ‘X’ and ‘>’ icons. One is above, and one is below.
When you hover over one of said buttons, a ‘.MouseEnter’ event fires, causing a hint to be made visible.
In contrast, a ‘.MouseLeave’ event fires when you take your mouse off the button, setting the visibility of the hint to false.
Both buttons have these events tied to them. Both of them use the same label for the hint.
Typical stuff, right? However, when I hover from one button directly to the other, the hint just disappears.
This is because, for whatever reason, the ‘.MouseLeave’ event of the first button you hover over fires after the ‘.MouseEnter’ event of the second button. The ‘.MouseEnter’ event of the second button does fire and make the hint visible, but it is immediately overwritten by the ‘.MouseLeave’ of the first button making the hint invisible. See my problem? I have absolutely no idea why this is happening, nor have I ever experienced this behavior before. It doesn’t seem to say anything about it on the wiki for either event.
This is either a case of me simply being an idiot and not being in a situation that exposed this behavior before, or this could be some form of bug on part of the engine itself.
Any ideas as to how to fix this or general help would be greatly appreciated.