From d3fd0f810a73df5a4a354413b8a8914eb1949ff4 Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 27 Feb 2020 16:32:10 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=9C=E3=83=AA=E3=83=A5=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E3=82=920=E3=81=AB=E3=81=97=E3=81=A6=E3=82=82=E3=82=B5?= =?UTF-8?q?=E3=82=A6=E3=83=B3=E3=83=89=E3=81=8C=E9=B3=B4=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=82=8B=E3=81=93=E3=81=A8=E3=81=AB=E3=81=AA=E3=81=A3?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#6098)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update init.ts * parseFloat --- src/client/pages/preferences/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/pages/preferences/index.vue b/src/client/pages/preferences/index.vue index f87f87510..eddf69653 100644 --- a/src/client/pages/preferences/index.vue +++ b/src/client/pages/preferences/index.vue @@ -178,7 +178,7 @@ export default Vue.extend({ sfxVolume: { get() { return this.$store.state.device.sfxVolume; }, - set(value) { this.$store.commit('device/set', { key: 'sfxVolume', value }); } + set(value) { this.$store.commit('device/set', { key: 'sfxVolume', value: parseFloat(value, 10) }); } }, sfxNote: {