forked from FoundKeyGang/FoundKey
ボリュームを0にしてもサウンドが鳴っていることになっていたのを修正 (#6098)
* Update init.ts * parseFloat
This commit is contained in:
parent
484dc9b08a
commit
d3fd0f810a
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export default Vue.extend({
|
||||||
|
|
||||||
sfxVolume: {
|
sfxVolume: {
|
||||||
get() { return this.$store.state.device.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: {
|
sfxNote: {
|
||||||
|
|
Loading…
Reference in a new issue