Redo controls popovers into GtkMenuButtons

This commit is contained in:
Rafał Dzięgiel
2021-09-01 14:25:42 +02:00
parent 04122d46a7
commit bbada8fb4e
10 changed files with 400 additions and 405 deletions

View File

@@ -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()