From 6231aa2dfef46baecbb68b199196317592607651 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Mon, 11 Jul 2022 20:15:19 +1000
Subject: Don't keep tut-pane up during an initial search/auto_mode

---
 src/App.vue | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/App.vue')

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(){
-- 
cgit v1.2.3

