andmcadams / plugin-repo

BSD 2-Clause "Simplified" License
4 stars 8 forks source link

Fix tooltips in condensed panel eating up mouse events #7

Closed Cyborger1 closed 3 years ago

Cyborger1 commented 3 years ago

The tooltips I added to the location and world type labels in my panel would eat up mouse events due to a quirk with how events bubble up in AWT.

Bubbling up only happens if there are no handlers present on the child object, but adding a tooltip implicitly creates a mouse handler.