mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
homescreen: Fix zoom animation when going from homescreen to switcher
This commit is contained in:
parent
192d36da46
commit
06b02473d6
1 changed files with 4 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue