mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 14:43: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
|
easing.type: Easing.InOutQuad
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Rectangle {
|
|
||||||
id: bah
|
|
||||||
}
|
|
||||||
Connections {
|
Connections {
|
||||||
target: applet
|
target: applet
|
||||||
onExpandedChanged: {
|
onExpandedChanged: {
|
||||||
|
|
@ -179,6 +177,7 @@ PlasmaCore.ColorScope {
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
z: 1
|
||||||
parent: slidingPanel.visible ? panelContents : root
|
parent: slidingPanel.visible ? panelContents : root
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
|
|
@ -188,6 +187,10 @@ PlasmaCore.ColorScope {
|
||||||
height: root.height
|
height: root.height
|
||||||
color: PlasmaCore.ColorScope.backgroundColor
|
color: PlasmaCore.ColorScope.backgroundColor
|
||||||
|
|
||||||
|
//used as is needed somebody to filter events
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
}
|
||||||
Loader {
|
Loader {
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: item.width
|
width: item.width
|
||||||
|
|
@ -259,6 +262,7 @@ PlasmaCore.ColorScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
z: 99
|
||||||
property int oldMouseY: 0
|
property int oldMouseY: 0
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue