Fixed keyframes and floored value

This commit is contained in:
Quicksticks-oss committed 2024-04-13 00:12:41 -04:00
1 parent 46c8bdc7ec
commit 4e914aa0f2
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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,
});