From c2f8a84645dbb0d3159ad5b3831d0597854690ce Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 23 May 2022 22:23:53 +1000 Subject: Add help modal button that opens tutorial Needed to add code for skipping tutorial pane's welcome message. Also fixed small unwanted click-propagation bug in SettingsModal. --- src/components/HelpModal.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/components/HelpModal.vue') diff --git a/src/components/HelpModal.vue b/src/components/HelpModal.vue index 539d3dc..8b29a90 100644 --- a/src/components/HelpModal.vue +++ b/src/components/HelpModal.vue @@ -13,9 +13,13 @@ export default defineComponent({ this.$emit('help-modal-close'); } }, + onStartTutorial(){ + this.$emit('start-tutorial'); + this.$emit('help-modal-close'); + }, }, components: {CloseIcon, }, - emits: ['help-modal-close', ], + emits: ['help-modal-close', 'start-tutorial', ], }); @@ -46,6 +50,9 @@ export default defineComponent({ in culpa qui officia deserunt mollit anim id est laborum. + -- cgit v1.2.3