mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 05:42:32 +00:00
Fixed keyframes and floored value
This commit is contained in:
1 parent
46c8bdc7ec
commit
4e914aa0f2
2 files changed
+3
-2
No files matched your search
@@ -407,8 +407,9 @@ export class TimeLine {
|
||||
if (this.is_playing) {
|
||||
return;
|
||||
}
|
||||
const value = Math.floor(data["data"]["currentTime"])
|
||||
this.setScrubberPosition(value);
|
||||
this.update();
|
||||
this.setScrubberPosition(data["data"]["currentTime"]);
|
||||
}
|
||||
|
||||
public async stepFrame(frames: number) {
|
||||
|
||||
@@ -152,7 +152,7 @@ export function addCharacterKeyframe(
|
||||
|
||||
Queue.publish({
|
||||
queueName: QueueNames.TO_ENGINE,
|
||||
action: toEngineActions.ADD_CLIP,
|
||||
action: toEngineActions.ADD_KEYFRAME,
|
||||
data: newKeyframe,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user