mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 01:34:46 +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) {
|
if (visible) {
|
||||||
startupFeedback.visible = false;
|
startupFeedback.visible = false;
|
||||||
|
|
||||||
// only animate if going from homescreen
|
// hide immediately when going from homescreen
|
||||||
if (taskSwitcher.wasInActiveTask) {
|
if (!taskSwitcher.wasInActiveTask) {
|
||||||
itemContainer.zoomOut();
|
itemContainer.opacity = 0;
|
||||||
} else {
|
|
||||||
itemContainer.zoomOut();
|
|
||||||
//itemContainer.opacity = 0;
|
|
||||||
}
|
}
|
||||||
|
itemContainer.zoomOut();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
itemContainer.zoomIn();
|
itemContainer.zoomIn();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue