bar
This commit is contained in:
@@ -5,12 +5,13 @@ import Quickshell.Services.SystemTray
|
||||
import Quickshell.Widgets
|
||||
|
||||
Item {
|
||||
width: 10 + rep.count * (2 * lay.spacing + 20)
|
||||
implicitWidth: 10 + rep.count * (2 * lay.spacing + 20)
|
||||
height: 30
|
||||
visible: SystemTray.items.values.length != 0
|
||||
|
||||
id: root
|
||||
property var window: null
|
||||
required property var window
|
||||
required property real popupOffset
|
||||
|
||||
ClippingWrapperRectangle {
|
||||
radius: 5
|
||||
@@ -48,7 +49,7 @@ Item {
|
||||
if(mouse.button == Qt.LeftButton) {
|
||||
SystemTray.items.values[index].activate()
|
||||
} else if(mouse.button == Qt.RightButton) {
|
||||
SystemTray.items.values[index].display(root.window, root.x + root.parent.x, 40)
|
||||
SystemTray.items.values[index].display(root.window, popupOffset, 40)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user