aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-01-14 18:34:23 -0500
committerAjay <[email protected]>2024-01-14 18:34:23 -0500
commit1bf67cc533c31561974e95e05de19c48f5f8d30c (patch)
treef566d1d1a5bafac85c4ea4a6d26c227b79ef8b22 /src/render
parentf3818c2066edbb99412ffb8223984c0baabb15e0 (diff)
downloadSponsorBlock-1bf67cc533c31561974e95e05de19c48f5f8d30c.tar.gz
SponsorBlock-1bf67cc533c31561974e95e05de19c48f5f8d30c.zip
Add keybind for previewing a segment
Diffstat (limited to 'src/render')
-rw-r--r--src/render/SubmissionNotice.tsx4
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