Skip to content

Commit 947b94b

Browse files
committed
marker-controls-fix
the same controls are used for many marker examples. Some need start/mid/end controls, others do not. Fixed them appropriately.
1 parent e172a03 commit 947b94b

3 files changed

Lines changed: 0 additions & 8 deletions

File tree

docs/src/examples/components/Marker/orientation.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
let config = $state({
88
show: true,
99
tweened: true,
10-
markerStart: true,
11-
markerMid: false,
12-
markerEnd: true,
1310
pathGenerator: (x: number) => x,
1411
curve: undefined as ComponentProps<typeof CurveMenuField>['value'],
1512
pointCount: 10,

docs/src/examples/components/Marker/spline.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
let config = $state({
88
show: true,
99
markerStart: true,
10-
markerMid: false,
1110
markerEnd: true,
1211
tweened: true,
1312
pathGenerator: (x: number) => x,
@@ -45,7 +44,6 @@
4544
curve={config.curve}
4645
class="stroke-primary"
4746
markerStart={config.markerStart ? marker : undefined}
48-
markerMid={config.markerMid ? marker : undefined}
4947
markerEnd={config.markerEnd ? marker : undefined}
5048
{motion}
5149
/>

docs/src/examples/components/Marker/styling.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
let config = $state({
88
show: true,
99
tweened: true,
10-
markerStart: true,
11-
markerMid: false,
12-
markerEnd: true,
1310
pathGenerator: (x: number) => x,
1411
curve: undefined as ComponentProps<typeof CurveMenuField>['value'],
1512
pointCount: 10,

0 commit comments

Comments
 (0)