forked from Shinonome/dots-hyprland
bar: tray: make action trigger on press
This commit is contained in:
@@ -19,7 +19,7 @@ MouseArea {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
implicitWidth: 20
|
||||
implicitHeight: 20
|
||||
onClicked: (event) => {
|
||||
onPressed: (event) => {
|
||||
switch (event.button) {
|
||||
case Qt.LeftButton:
|
||||
item.activate();
|
||||
|
||||
Reference in New Issue
Block a user