mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 00:35:15 +00:00
ボリュームを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: {
|
||||
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