From 0ef74d94bef7658b58c8226abf55d8b0e8291928 Mon Sep 17 00:00:00 2001 From: evlist Date: Tue, 17 Jan 2023 12:51:44 +0100 Subject: [PATCH] Styling --- src/components/gpx/styles.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/gpx/styles.ts b/src/components/gpx/styles.ts index efbbeb6..884c85e 100644 --- a/src/components/gpx/styles.ts +++ b/src/components/gpx/styles.ts @@ -352,8 +352,9 @@ const styles = { return new Style({ image: new Icon({ src: icon, - scale: isHighlighted ? 3 : 1.5, + scale: isHighlighted ? 2 : 1, opacity: 1, + color: isHighlighted ? 'red' : 'black', // anchor: [0, 0], }), text: