Skip to content

Commit b8031de

Browse files
committed
demo: set TimeSlider step to 20 ms
1 parent 20fb486 commit b8031de

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/LoaderDemo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { useWaveforms } from './hooks/useWaveforms';
77

88
export function LoaderDemo() {
99
const [runAnimation, setRunAnimation] = React.useState(true);
10-
const [requestOffset, setRequestOffset] = React.useState(150);
11-
const [requestDuration, setRequestDuration] = React.useState(800);
10+
const [requestOffset, setRequestOffset] = React.useState(100);
11+
const [requestDuration, setRequestDuration] = React.useState(500);
1212
const [debounceDelay, setDebounceDelay] = React.useState(300);
1313
const [debounceTimeOn, setDebounceTimeOn] = React.useState(500);
1414

example/components/TimeSlider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export function TimeSlider(props: TimeSliderProps) {
2626
onChange={onValueChange}
2727
min={minValue}
2828
max={maxValue}
29+
step={20}
2930
>
3031
<SliderTrack>
3132
<SliderFilledTrack />

0 commit comments

Comments
 (0)