diff --git a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx index cc9222f..3c976b6 100644 --- a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx +++ b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx @@ -173,7 +173,8 @@ const CurveEditorPopover: React.VFC = (props) => { cssCubicBezierArgsFromHandles(easing), ) - const onInputChange = (e: React.ChangeEvent) => { + const onInputChange = (e?: React.ChangeEvent) => { + if (e === undefined) return setTextInputMode(TextInputMode.user) setInputValue(e.target.value)