You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the mouse_move(x, y) callback can be used to create hover feedback in pdlua GUI objects.
unfortunately, this has one major restriction though: the position is only reported on changes inside the object box and these changes are not necessarily reporting continuous coordinates. so there's no way to reliably determine whether the mouse has left the object area (or "crossed a border").
one option to deal with this might be additional functions. i learnt that @timothyschoen had these implemented some time ago and then removed them again since they seemed slightly hacky for vanilla. maybe they could be reconsidered though since they would allow for some additional interaction patterns.
one question in this context is whether mouse_enter and mouse_exit could also be achieved easily with purr data?
The text was updated successfully, but these errors were encountered:
the
mouse_move(x, y)
callback can be used to create hover feedback in pdlua GUI objects.unfortunately, this has one major restriction though: the position is only reported on changes inside the object box and these changes are not necessarily reporting continuous coordinates. so there's no way to reliably determine whether the mouse has left the object area (or "crossed a border").
one option to deal with this might be additional functions. i learnt that @timothyschoen had these implemented some time ago and then removed them again since they seemed slightly hacky for vanilla. maybe they could be reconsidered though since they would allow for some additional interaction patterns.
one question in this context is whether
mouse_enter
andmouse_exit
could also be achieved easily with purr data?The text was updated successfully, but these errors were encountered: