fix(ui): fix canvas ts comparison
This commit is contained in:
parent
6140b0efd7
commit
0f4635548b
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