mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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 {
|
||||
id: taskSwitchEdge
|
||||
z: 1000
|
||||
property bool active
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
|
|
@ -178,7 +177,6 @@ Rectangle {
|
|||
enabled: windowsLayout.children.length > 0
|
||||
property int oldX: 0
|
||||
onPressed: {
|
||||
active = true;
|
||||
oldX = mouse.x;
|
||||
}
|
||||
onPositionChanged: {
|
||||
|
|
@ -191,7 +189,6 @@ Rectangle {
|
|||
oldX = mouse.x;
|
||||
}
|
||||
onReleased: {
|
||||
active = false
|
||||
if (windowsLayout.scale > 0.7) {
|
||||
compositorRoot.state = compositorRoot.currentWindow ? "application" : "homeScreen";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue