Skip to content

Commit 67db62e

Browse files
committed
fix(sdk): frame zero should have a duration of 0
1 parent 65a46e8 commit 67db62e

File tree

1 file changed

+1
-0
lines changed
  • engine/core/src/main/resources/view/core

1 file changed

+1
-0
lines changed

engine/core/src/main/resources/view/core/Drawer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ export class Drawer {
382382
}
383383
if (parsedFrame === parsedFrame.previous) {
384384
parsedFrame.frameInfo.date = 0
385+
parsedFrame.frameInfo.frameDuration = 0
385386
} else {
386387
parsedFrame.frameInfo.date = parsedFrame.previous.frameInfo.date + parsedFrame.previous.frameInfo.frameDuration
387388
}

0 commit comments

Comments
 (0)