Commit 4b61f55b authored by Devin Lin's avatar Devin Lin 🎨
Browse files

homescreen: Only close app drawer after startup feedback is fullscreen

parent f4f743a8
Pipeline #123639 passed with stage
in 51 seconds
......@@ -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();
}
}
}
}
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment