Commit f99e8ff0 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

homescreen: Don't animate if task switcher is visible

parent 4e95a4ab
Pipeline #162847 passed with stages
in 1 minute and 17 seconds
......@@ -143,10 +143,13 @@ Item {
target: MobileShell.WindowUtil
function onActiveWindowIsShellChanged() {
if (MobileShell.WindowUtil.activeWindowIsShell && !taskSwitcher.visible) {
itemContainer.zoomIn();
} else {
itemContainer.zoomOut();
// only animate if homescreen is visible
if (!taskSwitcher.visible) {
if (MobileShell.WindowUtil.activeWindowIsShell) {
itemContainer.zoomIn();
} else {
itemContainer.zoomOut();
}
}
}
}
......
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