No need to do animations on inputPanel, we're not using that anymore

This commit is contained in:
hygienic-books 2022-03-06 22:43:55 +01:00
parent 5897f2860a
commit 0965b287ca

View File

@ -413,11 +413,6 @@ Rectangle {
target: mainStack target: mainStack
y: Math.min(0, root.height - inputPanel.height - userListComponent.visibleBoundary) y: Math.min(0, root.height - inputPanel.height - userListComponent.visibleBoundary)
} }
PropertyChanges {
target: inputPanel
y: root.height - inputPanel.height
opacity: 1
}
}, },
State { State {
name: "hidden" name: "hidden"
@ -425,11 +420,6 @@ Rectangle {
target: mainStack target: mainStack
y: 0 y: 0
} }
PropertyChanges {
target: inputPanel
y: root.height - root.height/4
opacity: 0
}
} }
] ]
transitions: [ transitions: [
@ -437,12 +427,6 @@ Rectangle {
from: "hidden" from: "hidden"
to: "visible" to: "visible"
SequentialAnimation { SequentialAnimation {
ScriptAction {
script: {
inputPanel.item.activated = true;
Qt.inputMethod.show();
}
}
ParallelAnimation { ParallelAnimation {
NumberAnimation { NumberAnimation {
target: mainStack target: mainStack
@ -450,17 +434,6 @@ Rectangle {
duration: PlasmaCore.Units.longDuration duration: PlasmaCore.Units.longDuration
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
} }
NumberAnimation {
target: inputPanel
property: "y"
duration: PlasmaCore.Units.longDuration
easing.type: Easing.OutQuad
}
OpacityAnimator {
target: inputPanel
duration: PlasmaCore.Units.longDuration
easing.type: Easing.OutQuad
}
} }
} }
}, },
@ -475,23 +448,6 @@ Rectangle {
duration: PlasmaCore.Units.longDuration duration: PlasmaCore.Units.longDuration
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
} }
NumberAnimation {
target: inputPanel
property: "y"
duration: PlasmaCore.Units.longDuration
easing.type: Easing.InQuad
}
OpacityAnimator {
target: inputPanel
duration: PlasmaCore.Units.longDuration
easing.type: Easing.InQuad
}
}
ScriptAction {
script: {
inputPanel.item.activated = false;
Qt.inputMethod.hide();
}
} }
} }
} }