This commit is contained in:
2025-10-27 00:14:05 +01:00
parent 2f8a3e98a5
commit dbcde131aa
3 changed files with 20 additions and 8 deletions
+3 -3
View File
@@ -3,10 +3,10 @@ import QtQuick
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton
drag.target: dragEvernight
drag.target: parent
drag.axis: Drag.XAndYAxis
drag.minimumX: 0
drag.maximumX: Screen.width - evernight.width
drag.maximumX: Screen.width - parent.width
drag.minimumY: 0
drag.maximumY: Screen.height - evernight.height
drag.maximumY: Screen.height - parent.height
}
-2
View File
@@ -1,6 +1,4 @@
import QtQuick
import Quickshell.Io
import Quickshell.Wayland
Rectangle {
width: 227
+17 -3
View File
@@ -24,11 +24,23 @@ PanelWindow {
}
mask: Region {
item: evernight,acheron
Region {
item: dragEvernight
}
Region {
item: dragAcheron
}
}
property var yesMask: Region {
Region {
item: dragEvernight
}
Region {
item: dragAcheron
}
}
property var noMask: Region {
@@ -63,7 +75,8 @@ PanelWindow {
color: mainWindow.color
}
Mouse {}
Mouse {
}
}
Item {
@@ -77,6 +90,7 @@ PanelWindow {
color: mainWindow.color
}
Mouse {}
Mouse {
}
}
}