made mpris hover clickable to skip and rewind tracks
This commit is contained in:
13
Bar/Time.qml
13
Bar/Time.qml
@@ -256,7 +256,6 @@ Container {
|
||||
Item {
|
||||
id: logoutButtonRoot
|
||||
|
||||
// Key yen isn't on my keyboard, acts as an errorless analog for no bind
|
||||
required property var modelData
|
||||
|
||||
Layout.fillHeight: true
|
||||
@@ -382,6 +381,18 @@ Container {
|
||||
return fullHeight - (fullMargin * 2);
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.RightButton
|
||||
|
||||
onTapped: MprisManager.skip()
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.LeftButton
|
||||
|
||||
onTapped: MprisManager.prev()
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: Colors.surface1
|
||||
radius: 9
|
||||
|
||||
Reference in New Issue
Block a user