From fc2432785fc47dd6678f54d9af690f8d32527e30 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 17 May 2018 23:53:55 +0900 Subject: [PATCH] Fix bug --- .../app/mobile/views/components/notes.vue | 19 ++++++++++--------- .../app/mobile/views/components/ui.header.vue | 5 +++++ src/client/app/store.ts | 5 +++++ 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue index 53e232e52..e77698dea 100644 --- a/src/client/app/mobile/views/components/notes.vue +++ b/src/client/app/mobile/views/components/notes.vue @@ -1,7 +1,5 @@ @@ -156,6 +157,10 @@ root(isDark) &, * user-select none + > .indicator + height 3px + background $theme-color + > .main color rgba(#fff, 0.9) diff --git a/src/client/app/store.ts b/src/client/app/store.ts index e9cd952bd..1f1189054 100644 --- a/src/client/app/store.ts +++ b/src/client/app/store.ts @@ -24,10 +24,15 @@ export default (os: MiOS) => new Vuex.Store({ }], state: { + indicate: false, uiHeaderHeight: 0 }, mutations: { + indicate(state, x) { + state.indicate = x; + }, + setUiHeaderHeight(state, height) { state.uiHeaderHeight = height; }