File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/components/editors/ScriptEditor Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ export function ScriptEditor() {
38
38
return
39
39
}
40
40
41
- // various things we can do here!
42
- // move the scroll:
43
- // editor.setScrollPosition({ scrollTop: horizontalTimelineRatio })
41
+ // let's do something basic for now: we disable the
44
42
45
43
// timeline-to-editor scroll sync when the user is
46
44
// hovering the editor
@@ -53,7 +51,11 @@ export function ScriptEditor() {
53
51
scrollTop : horizontalTimelineRatio ,
54
52
} )
55
53
}
56
- // let's do something basic for now: we disable the
54
+
55
+ // various things we can do here!
56
+ // move the scroll:
57
+ // editor.setScrollPosition({ scrollTop: horizontalTimelineRatio })
58
+
57
59
// Scroll to a specific line:
58
60
// editor.revealLine(15);
59
61
You can’t perform that action at this time.
0 commit comments