diff options
author | Ajay <[email protected]> | 2024-01-14 18:34:23 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2024-01-14 18:34:23 -0500 |
commit | 1bf67cc533c31561974e95e05de19c48f5f8d30c (patch) | |
tree | f566d1d1a5bafac85c4ea4a6d26c227b79ef8b22 /src/render | |
parent | f3818c2066edbb99412ffb8223984c0baabb15e0 (diff) | |
download | SponsorBlock-1bf67cc533c31561974e95e05de19c48f5f8d30c.tar.gz SponsorBlock-1bf67cc533c31561974e95e05de19c48f5f8d30c.zip |
Add keybind for previewing a segment
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/SubmissionNotice.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/SubmissionNotice.tsx b/src/render/SubmissionNotice.tsx index 671dde6b..5e9fbfbd 100644 --- a/src/render/SubmissionNotice.tsx +++ b/src/render/SubmissionNotice.tsx @@ -56,6 +56,10 @@ class SubmissionNotice { submit(): void { this.noticeRef.current?.submit?.(); } + + scrollToBottom(): void { + this.noticeRef.current?.scrollToBottom?.(); + } } export default SubmissionNotice;
\ No newline at end of file |