mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Redo controls popovers into GtkMenuButtons
This commit is contained in:
@@ -354,9 +354,9 @@ class ClapperPlayer extends GstClapper.Clapper
|
||||
|
||||
const { controls } = this.widget.get_ancestor(Gtk.Grid);
|
||||
const value = (isIncrease) ? offset : -offset;
|
||||
const volume = controls.volumeScale.get_value() + value;
|
||||
const scale = controls.volumeButton.volumeScale;
|
||||
|
||||
controls.volumeScale.set_value(volume);
|
||||
scale.set_value(scale.get_value() + value);
|
||||
}
|
||||
|
||||
next_chapter()
|
||||
|
Reference in New Issue
Block a user