aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/App.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 6ec3f8d..ab16c00 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -221,6 +221,12 @@ export default defineComponent({
},
},
watch: {
+ infoModalNodeName(newVal, oldVal){
+ // Possibly trigger tutorial advance
+ if (newVal == null){
+ this.handleActionForTutorial('tileInfo');
+ }
+ },
modeRunning(newVal, oldVal){
// For sweepToParent setting 'fallback', temporarily change to 'prefer' for efficiency
if (newVal != null){
@@ -451,7 +457,6 @@ export default defineComponent({
},
// For tile-info events
async onInfoClick(nodeName: string){
- this.handleActionForTutorial('tileInfo');
if (!this.searchOpen){ // Close an active non-search mode
this.resetMode();
}