aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index b683b21..62326e7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -271,6 +271,10 @@ export default defineComponent({
this.searchOpen = true;
},
onSearchNode(name: string){
+ if (this.modeRunning){
+ console.log("WARNING: Unexpected search event while search/auto mode is running")
+ return;
+ }
this.searchOpen = false;
this.modeRunning = true;
this.expandToNode(name);