From b8a4539fe3f116f5662f83967ed83d201b7d5926 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 20:51:10 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Highlight=20search=20result=20match?= =?UTF-8?q?es=20in=20display=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokedex.online/src/views/GamemasterExplorer.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue index a4fe441..96b981e 100644 --- a/code/websites/pokedex.online/src/views/GamemasterExplorer.vue +++ b/code/websites/pokedex.online/src/views/GamemasterExplorer.vue @@ -418,6 +418,15 @@ const handleSearchWorkerMessage = event => { } else if (type === 'complete') { searchResults.value = results; currentResultIndex.value = 0; + + // Update displayLines with match highlighting + displayLines.value.forEach(line => (line.hasMatch = false)); + results.forEach(lineIndex => { + if (displayLines.value[lineIndex]) { + displayLines.value[lineIndex].hasMatch = true; + } + }); + operationProgress.value.complete = true; setTimeout(() => { operationProgress.value.active = false;