From 47794d876120eea1b7ceddc77fdefa3cd11e9f2b Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Mon, 9 Aug 2021 11:45:30 +0200 Subject: [PATCH] Toggling keyframes snaps the sequence's position to the frame grid --- theatre/studio/src/StudioStore/StudioStore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/theatre/studio/src/StudioStore/StudioStore.ts b/theatre/studio/src/StudioStore/StudioStore.ts index 3881a0c..cef4a6f 100644 --- a/theatre/studio/src/StudioStore/StudioStore.ts +++ b/theatre/studio/src/StudioStore/StudioStore.ts @@ -145,6 +145,7 @@ export default class StudioStore { if (typeof trackId === 'string') { const seq = root.sheet.getSequence() + seq.position = seq.closestGridPosition(seq.position) stateEditors.coreByProject.historic.sheetsById.sequence.setKeyframeAtPosition( { ...propAddress,