Skip to content

Commit

Permalink
fine grained volume control
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Aug 17, 2020
1 parent fe51796 commit eb77251
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gui/controls2/components/NowPlayingToolbar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Item {
anchors.right: settingsButton.left
anchors.verticalCenter: parent.verticalCenter
wheelEnabled: true
stepSize: 2.5
stepSize: 1.0
live: true
from: 0
to: 100
Expand All @@ -111,7 +111,7 @@ Item {
onValueChanged: {
if (Math.abs(value - inValue) >= 1.0) {
if (pressed && value > inValue + 5.0) {
value = inValue + 5.0; // loop on value changed
value = inValue + 3.0; // loop on value changed
} else {
volumeGroupSlider.inValue = player.volumeMaster = Math.round(value);
if (pressed)
Expand Down
2 changes: 1 addition & 1 deletion gui/controls2/components/RenderingControlerView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ MusicListView {
anchors.right: gripButton.left
anchors.verticalCenter: parent.verticalCenter
wheelEnabled: true
stepSize: 2.5
stepSize: 1.0
live: true
from: 0
to: 100
Expand Down

0 comments on commit eb77251

Please sign in to comment.