✨ Improve code formatting by removing unnecessary whitespace
This commit is contained in:
@@ -418,7 +418,7 @@ const handleSearchWorkerMessage = event => {
|
|||||||
} else if (type === 'complete') {
|
} else if (type === 'complete') {
|
||||||
searchResults.value = results;
|
searchResults.value = results;
|
||||||
currentResultIndex.value = 0;
|
currentResultIndex.value = 0;
|
||||||
|
|
||||||
// Update displayLines with match highlighting
|
// Update displayLines with match highlighting
|
||||||
displayLines.value.forEach(line => (line.hasMatch = false));
|
displayLines.value.forEach(line => (line.hasMatch = false));
|
||||||
results.forEach(lineIndex => {
|
results.forEach(lineIndex => {
|
||||||
@@ -426,7 +426,7 @@ const handleSearchWorkerMessage = event => {
|
|||||||
displayLines.value[lineIndex].hasMatch = true;
|
displayLines.value[lineIndex].hasMatch = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
operationProgress.value.complete = true;
|
operationProgress.value.complete = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
operationProgress.value.active = false;
|
operationProgress.value.active = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user