ボリュームを0にしてもサウンドが鳴っていることになっていたのを修正 (#6098)
* Update init.ts * parseFloat
This commit is contained in:
parent
be232e72cc
commit
75d56ff255
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue