diff --git a/app/components/Chart/AccountEventsTimeline.vue b/app/components/Chart/AccountEventsTimeline.vue index 75fecbbd..9a1d7bcf 100644 --- a/app/components/Chart/AccountEventsTimeline.vue +++ b/app/components/Chart/AccountEventsTimeline.vue @@ -414,6 +414,11 @@ const tooltipTimeLabels = computed(() => { function getTooltipTimeLabel(index: number): string { return tooltipTimeLabels.value[index] ?? ""; } + +function getZapIconPath({ x, y }: { x: number; y: number }) { + // ⚡ with relative coordinates from initial position + return `M ${x} ${y} l 12 -17 l -6 0 l 3 -13 l -11 17 l 6 0 l -4 13`; +} - - -