From 5ce01e8350d7f8f583e123cbb818161ec8cb10a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=BCl=C3=B6p=20Kov=C3=A1cs?= Date: Wed, 8 Jun 2022 11:20:12 +0200 Subject: [PATCH] Add initial solution for highlighting the keyframe that is being edited in the inline editor popup --- .../BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.tsx b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.tsx index 557df7e..09e8cdf 100644 --- a/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.tsx +++ b/theatre/studio/src/panels/SequenceEditorPanel/DopeSheet/Right/BasicKeyframedTrack/KeyframeEditor/SingleKeyframeDot.tsx @@ -71,7 +71,7 @@ const SingleKeyframeDot: React.VFC = (props) => { const [ref, node] = useRefAndState(null) const [contextMenu] = useSingleKeyframeContextMenu(node, logger, props) - const [inlineEditorPopover, openEditor] = + const [inlineEditorPopover, openEditor, _, isOpen] = useSingleKeyframeInlineEditorPopover(props) const [isDragging] = useDragForSingleKeyframeDot(node, props, { onClickFromDrag(dragStartEvent) { @@ -82,7 +82,7 @@ const SingleKeyframeDot: React.VFC = (props) => { return ( <> - + {inlineEditorPopover} {contextMenu}