From c75ca2f62fb8589daea6bd34c8074cf4e5359e3e Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 7 Jun 2018 01:00:38 +0900 Subject: [PATCH] Fix glitch --- src/client/app/desktop/views/pages/deck/deck.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client/app/desktop/views/pages/deck/deck.vue b/src/client/app/desktop/views/pages/deck/deck.vue index ef54dd7fb..b876dec10 100644 --- a/src/client/app/desktop/views/pages/deck/deck.vue +++ b/src/client/app/desktop/views/pages/deck/deck.vue @@ -29,12 +29,14 @@ export default Vue.extend({ XNotificationsColumn, XWidgetsColumn }, + computed: { columns() { if (this.$store.state.settings.deck == null) return []; return this.$store.state.settings.deck.columns; } }, + created() { if (this.$store.state.settings.deck == null) { const deck = { @@ -63,6 +65,14 @@ export default Vue.extend({ } }, + mounted() { + document.documentElement.style.overflow = 'hidden'; + }, + + beforeDestroy() { + document.documentElement.style.overflow = 'auto'; + }, + methods: { add() { this.os.new(Menu, {