Go back to beginning after playback ends

This commit is contained in:
Rafostar
2020-10-16 12:13:00 +02:00
parent d0eb28b207
commit eafc65d15d
3 changed files with 13 additions and 1 deletions

View File

@@ -162,6 +162,9 @@ var Controls = GObject.registerClass({
handleScaleIncrement(type, isUp)
{
if(type === 'volume' && !this.volumeButton.visible)
return;
let value = this[`${type}Scale`].get_value();
let maxValue = this[`${type}Adjustment`].get_upper();
let increment = this[`${type}Adjustment`].get_page_increment();