From 4b323024f51a8de755e4fb6cab301c36d52132a3 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 7 Jan 2023 19:24:12 +1100 Subject: Fix events sometimes not transitioning For some reason, by updating elements of the idToPos map individually, instead of assigning over the map itself, events rendered from the map sometimes don't transition. Also, skip transitions for events that would move across the mainline. --- src/components/TimeLine.vue | 57 ++++++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index e4fe8ba..9e0a48c 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -71,7 +71,7 @@