aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-11 20:15:19 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-11 20:15:19 +1000
commit6231aa2dfef46baecbb68b199196317592607651 (patch)
tree5aa4dbe8b7d04b91f2fb8dae6676b2cd6d8e3150 /src
parentb06b3a9cb3ae772202f522ae085446a040736c95 (diff)
Don't keep tut-pane up during an initial search/auto_mode
Diffstat (limited to 'src')
-rw-r--r--src/App.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 7fd7576..b0901d1 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -526,6 +526,9 @@ export default defineComponent({
}
this.searchOpen = false;
this.modeRunning = 'search';
+ if (this.tutWelcome){ // Don't keep welcome message up during an initial search
+ this.onActionEnd('search');
+ }
this.expandToNode(name);
},
async expandToNode(name: string){
@@ -625,6 +628,9 @@ export default defineComponent({
}
this.resetMode();
this.modeRunning = 'autoMode';
+ if (this.tutWelcome){ // Don't keep welcome message up during an initial auto-mode
+ this.onActionEnd('autoMode');
+ }
this.autoAction();
},
async autoAction(){