homescreen: Fix zoom animation when going from homescreen to switcher

This commit is contained in:
Devin Lin 2022-04-06 20:33:06 -04:00
parent 192d36da46
commit 06b02473d6

View file

@ -189,13 +189,11 @@ Item {
if (visible) {
startupFeedback.visible = false;
// only animate if going from homescreen
if (taskSwitcher.wasInActiveTask) {
itemContainer.zoomOut();
} else {
itemContainer.zoomOut();
//itemContainer.opacity = 0;
// hide immediately when going from homescreen
if (!taskSwitcher.wasInActiveTask) {
itemContainer.opacity = 0;
}
itemContainer.zoomOut();
} else {
itemContainer.zoomIn();