From 1b20356cdbcec6b917a4dd81e2132b1e8045628b Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 11 Jan 2025 17:04:24 +0100 Subject: [PATCH] fix: the stack order --- src/lib/visual/StackHorizontalSVG.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/visual/StackHorizontalSVG.svelte b/src/lib/visual/StackHorizontalSVG.svelte index ba812e4..17d52b3 100644 --- a/src/lib/visual/StackHorizontalSVG.svelte +++ b/src/lib/visual/StackHorizontalSVG.svelte @@ -93,7 +93,7 @@ /> {/each} - {#each stack.values.slice(0, stack.cursor) as value, index (value)} + {#each stack.values.slice(0, stack.cursor).toReversed() as value, index (value)} {@const w = Math.max( (width / 2) * (value / max) - paddingH, 1