Toggling keyframes snaps the sequence's position to the frame grid
This commit is contained in:
parent
30c6b44cad
commit
47794d8761
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ export default class StudioStore {
|
||||||
|
|
||||||
if (typeof trackId === 'string') {
|
if (typeof trackId === 'string') {
|
||||||
const seq = root.sheet.getSequence()
|
const seq = root.sheet.getSequence()
|
||||||
|
seq.position = seq.closestGridPosition(seq.position)
|
||||||
stateEditors.coreByProject.historic.sheetsById.sequence.setKeyframeAtPosition(
|
stateEditors.coreByProject.historic.sheetsById.sequence.setKeyframeAtPosition(
|
||||||
{
|
{
|
||||||
...propAddress,
|
...propAddress,
|
||||||
|
|
Loading…
Reference in a new issue