From 669360582be9df058c9721c2cfc6bd0f0e5493e7 Mon Sep 17 00:00:00 2001 From: April Kovacs Date: Sun, 12 Oct 2025 14:13:36 -0400 Subject: [PATCH] remove shadow from marker text; fix Ubuntu lag --- client/src/playback/Map.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/src/playback/Map.ts b/client/src/playback/Map.ts index 16d0168e..00aef946 100644 --- a/client/src/playback/Map.ts +++ b/client/src/playback/Map.ts @@ -163,13 +163,9 @@ export class CurrentMap { ctx.fillStyle = teamColors[0] const label = markerA === 1 ? '1' : '2' // Primary/secondary ctx.font = '1px monospace' - ctx.shadowColor = 'black' - ctx.shadowBlur = 4 ctx.scale(0.5, 0.5) ctx.fillText(label, (coords.x + 0.05) * 2, (coords.y + 0.95) * 2) ctx.scale(2, 2) - ctx.shadowColor = '' - ctx.shadowBlur = 0 } const markerB = this.markers[1][schemaIdx] @@ -177,13 +173,9 @@ export class CurrentMap { ctx.fillStyle = teamColors[1] const label = markerB === 3 ? '1' : '2' // Primary/secondary ctx.font = '1px monospace' - ctx.shadowColor = 'black' - ctx.shadowBlur = 4 ctx.scale(0.5, 0.5) ctx.fillText(label, (coords.x + 0.65) * 2, (coords.y + 0.95) * 2) ctx.scale(2, 2) - ctx.shadowColor = '' - ctx.shadowBlur = 0 } } }