kwin/mobiletaskswitcher: Fix double animation for task elements

This commit is contained in:
Devin Lin 2023-03-25 23:37:18 -07:00
parent aa820d4886
commit 45ab8c5fa9
2 changed files with 1 additions and 2 deletions

View file

@ -74,7 +74,6 @@ FocusScope {
Component.onCompleted: {
taskList.jumpToFirstVisibleWindow();
taskList.minimizeAll();
taskSwitcherState.currentlyBeingOpened = true;
// fully open the panel (if this is a button press, not gesture)
if (!root.effect.gestureInProgress) {

View file

@ -57,7 +57,7 @@ QtObject {
property bool wasInActiveTask: false
// whether we are in a swipe up gesture to open the task switcher
property bool currentlyBeingOpened: false
property bool currentlyBeingOpened: true // assume that task switcher is loaded on open
// whether the task switcher is being closed: an animation is running
property bool currentlyBeingClosed: false