mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 06:33:09 +00:00
remove unised active property
This commit is contained in:
parent
2d822299f1
commit
dcf39fe34e
1 changed files with 0 additions and 3 deletions
|
|
@ -168,7 +168,6 @@ Rectangle {
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: taskSwitchEdge
|
id: taskSwitchEdge
|
||||||
z: 1000
|
z: 1000
|
||||||
property bool active
|
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
|
|
@ -178,7 +177,6 @@ Rectangle {
|
||||||
enabled: windowsLayout.children.length > 0
|
enabled: windowsLayout.children.length > 0
|
||||||
property int oldX: 0
|
property int oldX: 0
|
||||||
onPressed: {
|
onPressed: {
|
||||||
active = true;
|
|
||||||
oldX = mouse.x;
|
oldX = mouse.x;
|
||||||
}
|
}
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
|
|
@ -191,7 +189,6 @@ Rectangle {
|
||||||
oldX = mouse.x;
|
oldX = mouse.x;
|
||||||
}
|
}
|
||||||
onReleased: {
|
onReleased: {
|
||||||
active = false
|
|
||||||
if (windowsLayout.scale > 0.7) {
|
if (windowsLayout.scale > 0.7) {
|
||||||
compositorRoot.state = compositorRoot.currentWindow ? "application" : "homeScreen";
|
compositorRoot.state = compositorRoot.currentWindow ? "application" : "homeScreen";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue