From a2a1d4061d605bd60c148a6464a1945ff59595bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Beye?= Date: Mon, 2 Sep 2024 19:02:53 +0200 Subject: [PATCH] fix(ui): Fix cutting line being invisible when using the light theme Thanks @vivia --- .../client_structures/CuttingLineClientStructure.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/map/structures/client_structures/CuttingLineClientStructure.ts b/frontend/src/map/structures/client_structures/CuttingLineClientStructure.ts index bae8638ed80..243ae9d6abe 100644 --- a/frontend/src/map/structures/client_structures/CuttingLineClientStructure.ts +++ b/frontend/src/map/structures/client_structures/CuttingLineClientStructure.ts @@ -24,9 +24,12 @@ class CuttingLineClientStructure extends LineClientStructure { if (this.active) { ctx.setLineDash([ considerHiDPI(15), - considerHiDPI(5) + considerHiDPI(10) ]); } + + ctx.shadowColor = "rgba(0,0,0, 1)"; + ctx.shadowBlur = considerHiDPI(2); } getType(): string {