From 2c69840d6f8322f537a9d2b9327ce187a5852f2c Mon Sep 17 00:00:00 2001 From: Gator Date: Sun, 4 Dec 2022 17:24:45 +0100 Subject: [PATCH] reset/stop to bottom --- src/App.vue | 3 +++ src/components/Menu2dCA.vue | 30 +++++------------------- src/components/MenuElementaryCA.vue | 9 +------- src/components/MenuReset.vue | 36 +++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 32 deletions(-) create mode 100644 src/components/MenuReset.vue diff --git a/src/App.vue b/src/App.vue index 76a6ee6..8a6ebf3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,17 +10,20 @@ + diff --git a/src/components/MenuElementaryCA.vue b/src/components/MenuElementaryCA.vue index aeb7f08..58971ed 100644 --- a/src/components/MenuElementaryCA.vue +++ b/src/components/MenuElementaryCA.vue @@ -64,13 +64,6 @@
-
@@ -108,7 +101,7 @@ }, }, methods: { - ...mapActions(globalStore, ["toggleDraw1d", "toggleReset"]), + ...mapActions(globalStore, ["toggleDraw1d"]), copyRules() { const rules = JSON.stringify(this.rules); navigator.clipboard.writeText(rules); diff --git a/src/components/MenuReset.vue b/src/components/MenuReset.vue new file mode 100644 index 0000000..c43e8ce --- /dev/null +++ b/src/components/MenuReset.vue @@ -0,0 +1,36 @@ + + +