Fixed some issues in test files
This commit is contained in:
@ -13,7 +13,7 @@ const run = () => {
|
||||
raf = requestAnimationFrame(() => {
|
||||
callback();
|
||||
if (running) run();
|
||||
|
||||
});
|
||||
};
|
||||
if (autoStart) start();
|
||||
return { start, stop };
|
||||
|
||||
Reference in New Issue
Block a user