From 02c2d4a90847e23c779866e149c3cf181b574c13 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 18 Jul 2021 14:11:28 +0200 Subject: slide settings beginnings --- pages/editor.tsx | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 68 insertions(+), 4 deletions(-) (limited to 'pages') diff --git a/pages/editor.tsx b/pages/editor.tsx index bde174f..47a6fb1 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -18,6 +18,7 @@ import PlaySkipIconAni from '../components/play-skip'; import Selection from '../components/selection'; import timeline, { anySlide, + clickThroughBehaviours, loopBeginSlide, loopSlide, presentationSettings, @@ -1045,8 +1046,6 @@ function DefaultSettings() { On-screen controls { + if (selection.slides.value.length != 1) return; + selection.slides[0].clickThroughBehaviour.set(e.target.value as clickThroughBehaviours); + }} + IconComponent={ArrowDropDownRoundedIcon} + value={clickThroughBehaviour} + > + + + + ; @@ -1257,7 +1321,7 @@ function Tools() {