From d91f2b34e3ac3ba51b6613f06b5881ebe5c8bf6a Mon Sep 17 00:00:00 2001 From: Adrien Burgun Date: Thu, 20 Jul 2023 00:47:59 +0200 Subject: [PATCH] :bug: Remove annoying console.log in set font() --- src/components/Game/draw.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Game/draw.ts b/src/components/Game/draw.ts index 1c266d8..264bdfa 100644 --- a/src/components/Game/draw.ts +++ b/src/components/Game/draw.ts @@ -97,7 +97,6 @@ export class TransformedCanvas2DCtx { } set font(font: string) { - console.log(font); const split = /^([a-z-]*\s+)?([\d.]+)px(\s+.+)$/.exec(font); if (split) { this.ctx.font = `${split[1] ?? ""} ${+split[2]! * this.transform.scale}px ${split[3]}`;