Search found 1 match
- Wed Oct 23, 2024 11:34 am
- Forum: Minor issues
- Topic: [2.0.9] on_gui_leave is called after on_gui_hover when switching between touching elements
- Replies: 1
- Views: 140
[2.0.9] on_gui_leave is called after on_gui_hover when switching between touching elements
I use on_gui_hover and on_gui_leave for custom tooltips - hover creates them, leave hides them. Since 2.0 this doesn't work, because while both events are called on the same tick, on_gui_hover is called first, so on_gui_leave immediately hides a newly created tooltip. Which is a bit suboptimal. Vide...