mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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: {
|
||||
taskSwitcher.offset = taskSwitcher.offset - (mouse.y - oldMouseY);
|
||||
oldMouseY = mouse.y;
|
||||
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit) {
|
||||
taskSwitcher.visibility = Window.FullScreen;
|
||||
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) {
|
||||
taskSwitcher.visible = true;
|
||||
}
|
||||
}
|
||||
onReleased: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue