mirror of
https://github.com/visgl/luma.gl.git
synced 2026-02-01 14:33:49 +00:00
fix(engine): AnimationLoop cancelAnimationFrame (#1895)
This commit is contained in:
parent
463b5613cb
commit
0beec2900e
@ -304,7 +304,7 @@ export class AnimationLoop {
|
||||
}
|
||||
|
||||
_cancelAnimationFrame() {
|
||||
if (this._animationFrameId !== null) {
|
||||
if (this._animationFrameId == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user