aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/slideprops.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/slideprops.tsx b/components/slideprops.tsx
index 0b0ee5f..57b9230 100644
--- a/components/slideprops.tsx
+++ b/components/slideprops.tsx
@@ -105,6 +105,12 @@ export default function SlideProperties(props: SlidePropertiesPropsType) {
variant='filled'
type='number'
label='Factor'
+ value={(props.slide as State<speedChangeSlide>).newFramerate.get()
+ / props.player.project.video.framerate}
+ onChange={event =>
+ updateProp<speedChangeSlide>('newFramerate')(
+ Number(event.target.value) * props.player.project.video.framerate,
+ )}
/>
</>,
}[props.slide.value.type]}