Apply custom initial volume on realize

This commit is contained in:
Rafostar
2020-11-30 11:26:38 +01:00
parent 5206dc543d
commit 58afaa2c76
2 changed files with 6 additions and 5 deletions

View File

@@ -359,8 +359,7 @@ class ClapperPlayer extends PlayerBase
if(!this.doneStartup) {
this.doneStartup = true;
if(settings.get_string('volume-initial') === 'custom')
this.set_volume(settings.get_int('volume-value') / 100);
if(settings.get_boolean('fullscreen-auto')) {
let root = player.widget.get_root();
let clapperWidget = root.get_child();