Skip to content

Commit 12fa923

Browse files
committed
docs: 📝 auto scroll
1 parent 5499b07 commit 12fa923

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/editor-demo/editor-basic/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const TimelineEditor = () => {
1616
editorData={data}
1717
effects={mockEffect}
1818
hideCursor={false}
19+
autoScroll={true}
20+
minScaleCount={3}
21+
maxScaleCount={10}
1922
/>
2023
</div>
2124
);

docs/editor-demo/editor-scale-customization/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const TimelineEditor = () => {
6262
</Input.Group>
6363
<Timeline
6464
onChange={setData}
65+
autoScroll={true}
6566
editorData={data}
6667
effects={mockEffect}
6768
scale={scale}

0 commit comments

Comments
 (0)