From e493a4d4bda8b0e4f81e79845ab037dfea7ef4b0 Mon Sep 17 00:00:00 2001 From: Blargian Date: Tue, 22 Jun 2021 19:47:16 +0200 Subject: [PATCH] display legend on click --- webapp/components/Editor/MenuBar.vue | 33 ++----- webapp/components/Editor/MenuLegend.vue | 114 ++++++++++++++---------- 2 files changed, 78 insertions(+), 69 deletions(-) diff --git a/webapp/components/Editor/MenuBar.vue b/webapp/components/Editor/MenuBar.vue index f82e24f74..6ec1d5295 100644 --- a/webapp/components/Editor/MenuBar.vue +++ b/webapp/components/Editor/MenuBar.vue @@ -60,21 +60,7 @@ icon="minus" /> - - - - - + @@ -86,9 +72,7 @@ import MenuLegend from './MenuLegend.vue' export default { data() { - return { - hover: false - } + return {} }, components: { EditorMenuBar, @@ -103,12 +87,13 @@ export default { diff --git a/webapp/components/Editor/MenuLegend.vue b/webapp/components/Editor/MenuLegend.vue index 28f4a18d3..ef33e71ea 100644 --- a/webapp/components/Editor/MenuLegend.vue +++ b/webapp/components/Editor/MenuLegend.vue @@ -1,63 +1,87 @@