Skip to content
Snippets Groups Projects
Unverified Commit d3fd0f81 authored by tamaina's avatar tamaina Committed by GitHub
Browse files

ボリュームを0にしてもサウンドが鳴っていることになっていたのを修正 (#6098)

* Update init.ts

* parseFloat
parent 484dc9b0
No related branches found
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment