mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Go back to beginning after playback ends
This commit is contained in:
3
clapper_src/controls.js
vendored
3
clapper_src/controls.js
vendored
@@ -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();
|
||||
|
Reference in New Issue
Block a user