From a727ee277b57abf1c9d0ba79a5f5b97786fde77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Roche?= Date: Wed, 28 Dec 2022 01:10:53 +0100 Subject: [PATCH] Fix typo Fix https://github.com/theatre-js/theatre/issues/361 --- .../KeyframeEditor/SingleKeyframeDot.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 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 b0de73f..13f6636 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 @@ -38,7 +38,7 @@ const dotTheme = { selectedAndInlineEditorOpenColor: '#CBEBEA', } -const selectBacgroundForDiamond = ({ +const selectBackgroundForDiamond = ({ isSelected, isInlineEditorPopoverOpen, }: IDiamond) => { @@ -64,7 +64,7 @@ const Diamond = styled.div` position: absolute; ${absoluteDims(DOT_SIZE_PX)} - background: ${(props) => selectBacgroundForDiamond(props)}; + background: ${(props) => selectBackgroundForDiamond(props)}; transform: rotateZ(45deg); ${(props) => @@ -78,7 +78,7 @@ const Square = styled.div` position: absolute; ${absoluteDims(DOT_SIZE_PX * 1.5)} - background: ${(props) => selectBacgroundForDiamond(props)}; + background: ${(props) => selectBackgroundForDiamond(props)}; ${(props) => props.flag === PresenceFlag.Primary ? 'outline: 2px solid white;' : ''};