From e46b560ead02ab5d9df8edbb997c56b835aa21d4 Mon Sep 17 00:00:00 2001 From: shpuld Date: Sun, 23 Dec 2018 19:50:19 +0200 Subject: move closing logic to drawer, add swipe to close --- src/App.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 728c8e54..68fae50e 100644 --- a/src/App.js +++ b/src/App.js @@ -30,8 +30,7 @@ export default { window.CSS.supports('-moz-mask-size', 'contain') || window.CSS.supports('-ms-mask-size', 'contain') || window.CSS.supports('-o-mask-size', 'contain') - ), - showMobileSidebar: false + ) }), created () { // Load the locale from the storage @@ -93,7 +92,7 @@ export default { this.finderHidden = hidden }, toggleMobileSidebar () { - this.showMobileSidebar = !this.showMobileSidebar + this.$refs.sideDrawer.toggleDrawer() } } } -- cgit v1.2.3-70-g09d2