Fix moving keyframes with arrow keys not updating time slider
This commit is contained in:
parent
038fe522f8
commit
5ef10e4202
@ -505,6 +505,7 @@ BARS.defineActions(function() {
|
|||||||
kf.time = Timeline.snapTime(limitNumber(kf.time - Timeline.getStep(), 0, 1e4))
|
kf.time = Timeline.snapTime(limitNumber(kf.time - Timeline.getStep(), 0, 1e4))
|
||||||
})
|
})
|
||||||
Animator.preview()
|
Animator.preview()
|
||||||
|
BarItems.slider_keyframe_time.update()
|
||||||
Undo.finishEdit('move keyframes')
|
Undo.finishEdit('move keyframes')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -519,6 +520,7 @@ BARS.defineActions(function() {
|
|||||||
kf.time = Timeline.snapTime(limitNumber(kf.time + Timeline.getStep(), 0, 1e4))
|
kf.time = Timeline.snapTime(limitNumber(kf.time + Timeline.getStep(), 0, 1e4))
|
||||||
})
|
})
|
||||||
Animator.preview()
|
Animator.preview()
|
||||||
|
BarItems.slider_keyframe_time.update()
|
||||||
Undo.finishEdit('move keyframes')
|
Undo.finishEdit('move keyframes')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user