From c26827bfe5c9cabc229d17ed3964f4bf4e7ed093 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 1 Jul 2025 23:16:07 +0200 Subject: [PATCH] fix(markers-overview): correct note lookup by marker id --- index.html | 2 +- modules/ui/markers-overview.js | 4 ++-- versioning.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index c2afdb33..9ac26860 100644 --- a/index.html +++ b/index.html @@ -8151,7 +8151,7 @@ - + diff --git a/modules/ui/markers-overview.js b/modules/ui/markers-overview.js index 648de18c..2f47e2e1 100644 --- a/modules/ui/markers-overview.js +++ b/modules/ui/markers-overview.js @@ -214,8 +214,8 @@ function overviewMarkers() { const body = pack.markers.map(marker => { const {i, type, icon, x, y} = marker; - - const note = notes.find(note => note.id === id); + + const note = notes.find(note => note.id === i); const name = note ? quote(note.name) : "Unknown"; const legend = note ? quote(note.legend) : ""; diff --git a/versioning.js b/versioning.js index b5e0f1a1..99ab5235 100644 --- a/versioning.js +++ b/versioning.js @@ -13,7 +13,7 @@ * Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2 */ -const VERSION = "1.108.8"; +const VERSION = "1.108.9"; if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function"); {