From bd110ed01acc77c2e75636b26f5f4c37acb1c988 Mon Sep 17 00:00:00 2001 From: Elliot Date: Fri, 13 May 2022 13:18:00 -0400 Subject: [PATCH] Add input selection on curve change (#158) --- .../KeyframeEditor/CurveEditorPopover/CurveEditorPopover.tsx | 2 ++ 1 file changed, 2 insertions(+) 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 8b986df..96625be 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 @@ -214,6 +214,8 @@ const CurveEditorPopover: React.FC = (props) => { const value = cssCubicBezierArgsFromHandles(newHandles) setInputValue(value) setEdit(value) + inputRef.current?.select() + inputRef.current?.focus() } const onCancelCurveChange = () => {}