Toggling keyframes snaps the sequence's position to the frame grid

This commit is contained in:
Aria Minaei 2021-08-09 11:45:30 +02:00
parent 30c6b44cad
commit 47794d8761

View file

@ -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,