From 25e633fe44d7bd84c566090188ea2c9a82449c69 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 27 Jun 2022 03:58:55 +1000 Subject: Clean up code in TutorialPane Also simply tutorial instructions --- src/components/SettingsModal.vue | 2 +- src/components/TutorialPane.vue | 146 +++++++++++++++++---------------------- 2 files changed, 65 insertions(+), 83 deletions(-) (limited to 'src/components') diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue index b09af07..34d0043 100644 --- a/src/components/SettingsModal.vue +++ b/src/components/SettingsModal.vue @@ -27,7 +27,7 @@ export default defineComponent({ }, }, watch: { - sweepLeaves(newVal, oldVal){ + sweepLeaves(newVal: boolean, oldVal: boolean){ this.lytOpts.layoutType = newVal ? 'sweep' : 'rect'; }, }, diff --git a/src/components/TutorialPane.vue b/src/components/TutorialPane.vue index fdebc8b..fe877ef 100644 --- a/src/components/TutorialPane.vue +++ b/src/components/TutorialPane.vue @@ -1,20 +1,25 @@