diff --git a/src/renderer/components/player-settings/player-settings.js b/src/renderer/components/player-settings/player-settings.js index 54555a55..ffb6b3c9 100644 --- a/src/renderer/components/player-settings/player-settings.js +++ b/src/renderer/components/player-settings/player-settings.js @@ -119,10 +119,6 @@ export default Vue.extend({ } }, methods: { - parseVolumeBeforeUpdate: function (volume) { - this.updateDefaultVolume(volume / 100) - }, - ...mapActions([ 'updateAutoplayVideos', 'updateAutoplayPlaylists', diff --git a/src/renderer/components/player-settings/player-settings.vue b/src/renderer/components/player-settings/player-settings.vue index 05c1e00b..e3eb108f 100644 --- a/src/renderer/components/player-settings/player-settings.vue +++ b/src/renderer/components/player-settings/player-settings.vue @@ -89,7 +89,7 @@ :max-value="100" :step="1" value-extension="%" - @change="parseVolumeBeforeUpdate" + @change="updateDefaultVolume($event / 100)" />