From 53056ad401372aa19f7102514da0ffacc6748449 Mon Sep 17 00:00:00 2001 From: elraro Date: Thu, 4 Jan 2024 19:04:19 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20fixed=20m=C2=B2=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../map/structures/map_structures/SegmentLabelMapStructure.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/map/structures/map_structures/SegmentLabelMapStructure.ts b/frontend/src/map/structures/map_structures/SegmentLabelMapStructure.ts index 3a6740b5..5a4ffb3c 100644 --- a/frontend/src/map/structures/map_structures/SegmentLabelMapStructure.ts +++ b/frontend/src/map/structures/map_structures/SegmentLabelMapStructure.ts @@ -107,7 +107,7 @@ class SegmentLabelMapStructure extends MapStructure { } if (scaleFactor >= 11) { - let metaString = (this.area).toFixed(0) + " m²"; + let metaString = (this.area / 10 ).toFixed(0) + " m²"; metaString += ` (id=${this.id})`; ctx.font = "35px sans-serif";