From 2f567d4970963f046a33072ca192574bda51f810 Mon Sep 17 00:00:00 2001 From: TreehouseNorris Date: Thu, 8 Dec 2022 11:55:24 -0500 Subject: [PATCH] format --- src/render/canvas/canvas-renderer.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/render/canvas/canvas-renderer.ts b/src/render/canvas/canvas-renderer.ts index 7449c47..60bc3ab 100644 --- a/src/render/canvas/canvas-renderer.ts +++ b/src/render/canvas/canvas-renderer.ts @@ -624,7 +624,10 @@ export class CanvasRenderer extends Renderer { ctx.fillStyle = gradient; ctx.fillRect(0, 0, width, height); if (width > 0 && height > 0) { - const pattern = this.ctx.createPattern(canvas, repeatTypes[+container.styles.backgroundRepeat]) as CanvasPattern; + const pattern = this.ctx.createPattern( + canvas, + repeatTypes[+container.styles.backgroundRepeat] + ) as CanvasPattern; this.renderRepeat(path, pattern, x, y); } } else if (isRadialGradient(backgroundImage)) {