mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
better panel drag behavior
This commit is contained in:
parent
85fdc45d03
commit
7c1bc53c9d
1 changed files with 7 additions and 3 deletions
|
|
@ -132,9 +132,7 @@ PlasmaCore.ColorScope {
|
|||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
id: bah
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: applet
|
||||
onExpandedChanged: {
|
||||
|
|
@ -179,6 +177,7 @@ PlasmaCore.ColorScope {
|
|||
}
|
||||
|
||||
Rectangle {
|
||||
z: 1
|
||||
parent: slidingPanel.visible ? panelContents : root
|
||||
anchors {
|
||||
left: parent.left
|
||||
|
|
@ -188,6 +187,10 @@ PlasmaCore.ColorScope {
|
|||
height: root.height
|
||||
color: PlasmaCore.ColorScope.backgroundColor
|
||||
|
||||
//used as is needed somebody to filter events
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
}
|
||||
Loader {
|
||||
height: parent.height
|
||||
width: item.width
|
||||
|
|
@ -259,6 +262,7 @@ PlasmaCore.ColorScope {
|
|||
}
|
||||
}
|
||||
MouseArea {
|
||||
z: 99
|
||||
property int oldMouseY: 0
|
||||
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue