fix bug in task switcher gesture opening animation from homescreen

fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/399
This commit is contained in:
Luis Büchi 2024-07-31 18:33:27 +00:00
parent d42d36129d
commit d9d159eea2

View file

@ -232,6 +232,7 @@ FocusScope {
} else {
// do open switcher in case we were on homescreen before
taskSwitcherHelpers.animateGoToTaskIndex(state.currentTaskIndex);
state.yPosition = taskSwitcherHelpers.openedYPosition;
taskSwitcherHelpers.open();
}