mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
kwin/mobiletaskswitcher: Fix double animation for task elements
This commit is contained in:
parent
aa820d4886
commit
45ab8c5fa9
2 changed files with 1 additions and 2 deletions
|
|
@ -74,7 +74,6 @@ FocusScope {
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
taskList.jumpToFirstVisibleWindow();
|
taskList.jumpToFirstVisibleWindow();
|
||||||
taskList.minimizeAll();
|
taskList.minimizeAll();
|
||||||
taskSwitcherState.currentlyBeingOpened = true;
|
|
||||||
|
|
||||||
// fully open the panel (if this is a button press, not gesture)
|
// fully open the panel (if this is a button press, not gesture)
|
||||||
if (!root.effect.gestureInProgress) {
|
if (!root.effect.gestureInProgress) {
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ QtObject {
|
||||||
property bool wasInActiveTask: false
|
property bool wasInActiveTask: false
|
||||||
|
|
||||||
// whether we are in a swipe up gesture to open the task switcher
|
// 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
|
// whether the task switcher is being closed: an animation is running
|
||||||
property bool currentlyBeingClosed: false
|
property bool currentlyBeingClosed: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue