Make the keyframes dots smaller on hover

This commit is contained in:
Fülöp Kovács 2022-06-08 15:31:22 +02:00 committed by Fülöp
parent 9b3031f0cc
commit d7fc381137
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import {absoluteDims} from '@theatre/studio/utils/absoluteDims'
import {pointerEventsAutoInNormalMode} from '@theatre/studio/css'
const DOT_SIZE_PX = 16
const DOT_HOVER_SIZE_PX = DOT_SIZE_PX + 5
const DOT_HOVER_SIZE_PX = DOT_SIZE_PX + 2
/** The keyframe diamond ◆ */
const DotContainer = styled.div`

View file

@ -30,7 +30,7 @@ import {
} from '@theatre/studio/panels/SequenceEditorPanel/DopeSheet/Right/KeyframeSnapTarget'
export const DOT_SIZE_PX = 6
const DOT_HOVER_SIZE_PX = DOT_SIZE_PX + 5
const DOT_HOVER_SIZE_PX = DOT_SIZE_PX + 2
const dotTheme = {
normalColor: '#40AAA4',