Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 14cd9a9

Browse files
committed
Fix sep initial value
1 parent 37a2e72 commit 14cd9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/use/separator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function useSeparator(
2525
let startY = 0
2626
let deltaX = ref(0)
2727
let deltaY = ref(0)
28-
let startValue = 0
28+
let startValue = value.value ?? 0
2929

3030
const {
3131
minValue = 0,

0 commit comments

Comments
 (0)