bar: make right clicking right side not skip current track (closes #1456)

This commit is contained in:
end-4 2025-08-16 21:30:12 +07:00
parent c745615a2a
commit 7cc00b99a1
2 changed files with 1 additions and 5 deletions

View file

@ -269,8 +269,6 @@ Item { // Bar content region
onPressed: event => {
if (event.button === Qt.LeftButton) {
GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen;
} else if (event.button === Qt.RightButton) {
MprisController.activePlayer.next();
}
}
@ -417,8 +415,8 @@ Item { // Bar content region
Layout.leftMargin: 8
Layout.fillHeight: true
active: Config.options.bar.weather.enable
sourceComponent: BarGroup {
implicitHeight: Appearance.sizes.baseBarHeight
WeatherBar {}
}
}

View file

@ -253,8 +253,6 @@ Item { // Bar content region
onPressed: event => {
if (event.button === Qt.LeftButton) {
GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen;
} else if (event.button === Qt.RightButton) {
MprisController.activePlayer.next();
}
}
// Scroll to change volume