This commit is contained in:
2026-02-09 00:09:29 -08:00
parent add0b3d66f
commit 925b01939c
7 changed files with 270 additions and 125 deletions

View File

@@ -13,9 +13,7 @@ PanelWindow {
id: launcher
function close() {
visible = false
list.visible = false
searchInput.text = ""
exitAnim.start();
}
function open() {
visible = true
@@ -358,6 +356,45 @@ PanelWindow {
width: 24
height: 24
}
property var progress
}
transform: Translate {
NumberAnimation on x {
running: launcher.visible
duration: 200
from: launcher.implicitWidth/6
to: 0
easing.type: Easing.OutQuart
}
NumberAnimation on x {
running: exitAnim.running
duration: 200
from: 0
to: launcher.implicitWidth/6
easing.type: Easing.InCubic
}
}
NumberAnimation on opacity {
running: launcher.visible
from: 0
to: 1
duration: 150
}
SequentialAnimation on opacity {
id: exitAnim
running: false
PauseAnimation { duration: 50 }
NumberAnimation {
from: 1
to: 0
duration: 150
}
onFinished: {
launcher.visible = false
list.visible = false
searchInput.text = ""
}
}
}
}