mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-03 09:56:54 +01: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