From de1ecbaef41b8376f85ed566d833316c8f816e0f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Mar 2020 19:35:34 +0900 Subject: [PATCH 1/5] =?UTF-8?q?iOS=E3=81=A7=E8=B5=B7=E5=8B=95=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/init.ts b/src/client/init.ts index d7b693e4c..aed7ff85e 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -144,7 +144,7 @@ os.init(async () => { } }, false) - window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', mql => { + window.matchMedia('(prefers-color-scheme: dark)').addListener(mql => { if (os.store.state.device.syncDeviceDarkMode) { os.store.commit('device/set', { key: 'darkMode', value: mql.matches }); } From 9c3a4eb9478801061c97808808f8d9b98762e330 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Mar 2020 19:41:35 +0900 Subject: [PATCH 2/5] Fix bug --- src/client/app.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/app.vue b/src/client/app.vue index b47c092ed..650ebbd2b 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -246,7 +246,10 @@ export default Vue.extend({ if (this.isDesktop) this.adjustWidgetsWidth(); const adjustTitlePosition = () => { - this.$refs.title.style.left = (this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth) + 'px'; + const left = this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth; + if (left >= 0) { + this.$refs.title.style.left = left + 'px'; + } }; adjustTitlePosition(); From 498bc7cebe0349d2cb3c1bc279d2bc748a986a8e Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 22 Mar 2020 19:43:48 +0900 Subject: [PATCH 3/5] Add files via upload (#6178) --- assets/icon.svg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 assets/icon.svg diff --git a/assets/icon.svg b/assets/icon.svg new file mode 100644 index 000000000..7ae5f19da --- /dev/null +++ b/assets/icon.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + From 837358df66a21c89ef57820404d218d7fda23748 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Mar 2020 19:46:07 +0900 Subject: [PATCH 4/5] Fix #6179 --- src/client/pages/pages.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/pages/pages.vue b/src/client/pages/pages.vue index d993d0196..dd3d09db0 100644 --- a/src/client/pages/pages.vue +++ b/src/client/pages/pages.vue @@ -1,5 +1,8 @@