Skip to content

Commit

Permalink
Volume slider now goes to 100 when interacted with
Browse files Browse the repository at this point in the history
Change-Id: If53a4d64347cefb82e30f41204f5bb189a2377d8
Reviewed-by: Nedim Hadzic <[email protected]>
  • Loading branch information
henrypierrejean committed Sep 20, 2016
1 parent 435268c commit 228490e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imports/shared/controls/VolumeSlider.qml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ UIElement {
if (!item) {
return;
}
root.setValue(item.entry/view.count)
root.setValue(item.entry/(view.count - 1))
}
onPositionChanged: {
var item = view.itemAt(mouse.x, mouse.y);
if (!item) {
return;
}
root.setValue(item.entry/view.count)
root.setValue(item.entry/(view.count - 1))
}
}
}
Expand Down

0 comments on commit 228490e

Please sign in to comment.