Skip to content

Commit

Permalink
fix: the stack order
Browse files Browse the repository at this point in the history
  • Loading branch information
peufo committed Jan 11, 2025
1 parent ba38d80 commit 1b20356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/visual/StackHorizontalSVG.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b20356

Please sign in to comment.