code formatting
This commit is contained in:
parent
fd1e3d248a
commit
ba7721f53c
5 changed files with 30 additions and 30 deletions
|
|
@ -83,8 +83,8 @@ export const cleanupDrawContext = (replID) => {
|
|||
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
|
||||
|
||||
// clear the big canvas context, ignore inline widgets
|
||||
Object.keys(animationFrames).forEach((id) =>
|
||||
(!replID || id.startsWith(replID)) && !id.startsWith('_') && stopAnimationFrame(id)
|
||||
Object.keys(animationFrames).forEach(
|
||||
(id) => (!replID || id.startsWith(replID)) && !id.startsWith('_') && stopAnimationFrame(id),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue