mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
use visible = true
This commit is contained in:
parent
8aac7a2b9c
commit
813bd8fa0c
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ PlasmaCore.ColorScope {
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY);
|
taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY);
|
||||||
oldMouseY = mouse.y;
|
oldMouseY = mouse.y;
|
||||||
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit) {
|
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) {
|
||||||
taskSwitcher.visibility = Window.FullScreen;
|
taskSwitcher.visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onReleased: {
|
onReleased: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue