Skip to content

Commit

Permalink
Fix wrong bindings in group example
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyKey1 committed Jul 27, 2024
1 parent 93fafac commit 07c2d57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/examples/group/Group.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
<Layer>
<Group draggable>
{#each configs as _, idx}
<Circle {...configs[idx]} bind:x={configs[idx].x} bind:y={configs[idx].y} />
<!-- TODO: Binding here seems like a bug. X and y coordinates never change if group is dragged. Make sure this is not a side effect of svelte 5 update -->
<Circle {...configs[idx]} />
{/each}
</Group>
</Layer>
Expand Down

0 comments on commit 07c2d57

Please sign in to comment.