code formatting

This commit is contained in:
Dsm0 2025-12-23 02:25:18 -08:00
parent fd1e3d248a
commit ba7721f53c
5 changed files with 30 additions and 30 deletions

View file

@ -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),
);
};