fix(ui): fix canvas ts comparison (#1851)
Co-authored-by: nick-delirium <nikita@openreplay.com>
This commit is contained in:
parent
9453d25213
commit
a808200526
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export default class CanvasManager {
|
|||
}
|
||||
|
||||
move(t: number) {
|
||||
if (t - this.lastTs < 100) return;
|
||||
if (Math.abs(t - this.lastTs) < 100) return;
|
||||
this.lastTs = t;
|
||||
const playTime = t - this.delta
|
||||
if (playTime > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue