From 79c24b673c7d08f969ce5fb5954867a61456c5e7 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sun, 15 Jan 2023 01:45:42 +1100 Subject: Fade other events when hovering over one --- src/components/TimeLine.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index c72fbff..f212a32 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -48,7 +48,9 @@ -
+
@@ -1236,6 +1238,7 @@ const skipTransition = ref(true); onMounted(() => setTimeout(() => {skipTransition.value = false}, 100)); // Styles +const hoveredEventId = ref(null as null | number); const mainlineStyles = computed(() => { return { transform: props.vert ? -- cgit v1.2.3