New routine: exitRoutine #878

Open
opened 2026-02-20 10:21:18 -05:00 by deekerman · 2 comments
Owner

Originally created by @96LawDawg on GitHub (Apr 2, 2025).

We will never be able to fix leaveRoutine. We could start over with a new routine such as exitRoutine that would work as expected. In other words, it would only trigger one time, it would not trigger for shadows, etc.

Originally created by @96LawDawg on GitHub (Apr 2, 2025). We will never be able to fix `leaveRoutine`. We could start over with a new routine such as `exitRoutine` that would work as expected. In other words, it would only trigger one time, it would not trigger for shadows, etc.
Author
Owner

@96LawDawg commented on GitHub (Apr 3, 2025):

Timing of the single trigger: should be when the widget leaves the holder, not when it is picked up. Currently, that is the reason why leaveRoutine triggers twice: once when it is picked up (and loses its parent) and once when it leaves the holder. exitRoutine should trigger only when it leaves the boundaries of the holder.

@96LawDawg commented on GitHub (Apr 3, 2025): Timing of the single trigger: should be when the widget leaves the holder, not when it is picked up. Currently, that is the reason why `leaveRoutine` triggers twice: once when it is picked up (and loses its parent) and once when it leaves the holder. `exitRoutine` should trigger only when it leaves the boundaries of the holder.
Author
Owner

@96LawDawg commented on GitHub (Jun 5, 2025):

Related to #614. The exitRoutine would not be needed when we get the Legacy Mode PR finished.

@96LawDawg commented on GitHub (Jun 5, 2025): Related to #614. The `exitRoutine` would not be needed when we get the Legacy Mode PR finished.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/virtualtabletop#878
No description provided.