NPanel: reverted yesterday fix, trying another fix.

This commit is contained in:
ItsLemmy
2025-10-03 22:03:56 -04:00
parent cc59362a1a
commit cd7ac2b243
2 changed files with 5 additions and 14 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ Variants {
acceptedButtons: Qt.RightButton
onClicked: function (mouse) {
if (mouse.button === Qt.RightButton) {
controlCenterPanel.toggle(BarService.lookupWidget("ControlCenter"))
// Important to pass the screen here so we get the right widget for the actual bar that was clicked.
controlCenterPanel.toggle(BarService.lookupWidget("ControlCenter", screen.name))
mouse.accepted = true
}
}