mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-14 14:02:47 -05:00
feat: Add disappearing tools and thinking component from chat
This commit is contained in:
22
UIControls/qml/FadeListItemAnimation.qml
Normal file
22
UIControls/qml/FadeListItemAnimation.qml
Normal file
@ -0,0 +1,22 @@
|
||||
import QtQuick
|
||||
|
||||
ParallelAnimation {
|
||||
id: root
|
||||
|
||||
property Item targetObject: parent
|
||||
|
||||
NumberAnimation {
|
||||
target: root.targetObject
|
||||
property: "opacity"
|
||||
to: 0
|
||||
duration: 200
|
||||
easing.type: Easing.InQuad
|
||||
}
|
||||
NumberAnimation {
|
||||
target: root.targetObject
|
||||
property: "height"
|
||||
to: 0
|
||||
duration: 250
|
||||
easing.type: Easing.InQuad
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user