mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-04 16:14:53 +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: {
|
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