From 70352be01b1dd3bbece0a0dc73331b034dcce98c Mon Sep 17 00:00:00 2001 From: Tomas Horsky Date: Mon, 15 Jun 2026 12:14:57 +0900 Subject: [PATCH] animation plane shape --- src/lib/world-map/JourneyView.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/world-map/JourneyView.svelte b/src/lib/world-map/JourneyView.svelte index aa6fccd..ce8c7b7 100644 --- a/src/lib/world-map/JourneyView.svelte +++ b/src/lib/world-map/JourneyView.svelte @@ -20,7 +20,7 @@ const HOME_COLOR = '#8b5cf6'; const VISITED_COLOR = '#22c55e'; const ARC_COLOR = '#000000'; - const PLANE_COLOR = '#000000'; + const PLANE_COLOR = '#7c3aed'; const PLANE_PATH = 'M14,0 L4,-3 L0,-7 L-3,-5 L0,-2 L-5,-1 L-9,-5 L-11,-4 L-7,0 L-11,4 L-9,5 L-5,1 L0,2 L-3,5 L0,7 L4,3 Z'; const UNVISITED = '#ffffff'; @@ -108,7 +108,7 @@ try { const pt = node.getPointAtLength(clamped); const angle = getAngleAtLength(node, clamped); - tipEl.attr('transform', `translate(${pt.x}, ${pt.y}) rotate(${angle})`).attr('opacity', 1); + tipEl.attr('transform', `translate(${pt.x}, ${pt.y}) rotate(${angle}) scale(1.4)`).attr('opacity', 1); } catch (e) { // ignore SVG errors }