mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreen: Only close app drawer after startup feedback is fullscreen
This commit is contained in:
parent
f4f743a868
commit
4b61f55b4a
3 changed files with 7 additions and 6 deletions
|
|
@ -42,9 +42,6 @@ MouseArea {
|
|||
} else {
|
||||
delegate.launch(delegate.x + (PlasmaCore.Units.smallSpacing * 2), delegate.y + (PlasmaCore.Units.smallSpacing * 2), icon.source, model.applicationName, model.applicationStorageId);
|
||||
}
|
||||
|
||||
// close the app drawer
|
||||
MobileShell.HomeScreenControls.openHomeScreen();
|
||||
}
|
||||
|
||||
//preventStealing: true
|
||||
|
|
|
|||
|
|
@ -40,9 +40,6 @@ MouseArea {
|
|||
} else {
|
||||
delegate.launch(delegate.x + (PlasmaCore.Units.smallSpacing * 2), delegate.y + (PlasmaCore.Units.smallSpacing * 2), icon.source, model.applicationName, model.applicationStorageId);
|
||||
}
|
||||
|
||||
// close the app drawer
|
||||
MobileShell.HomeScreenControls.openHomeScreen();
|
||||
}
|
||||
hoverEnabled: true
|
||||
|
||||
|
|
|
|||
|
|
@ -179,6 +179,13 @@ MouseArea { // use mousearea to ensure clicks don't go behind
|
|||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
ScriptAction {
|
||||
script: {
|
||||
// close the app drawer after it isn't visible
|
||||
MobileShell.HomeScreenControls.resetHomeScreenPosition();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue