Changed the glass animations to a more bubble-like animation

This commit is contained in:
SomeElse
2026-05-25 06:06:33 +00:00
parent 390525ac72
commit 8d6406284f
7 changed files with 136 additions and 158 deletions

View File

@@ -14,12 +14,13 @@ Rectangle {
anchors.top: isTop ? parent.top : undefined
anchors.bottom: isTop ? undefined : parent.bottom
transform: Translate {
y: popupOpen ? 0 : (isTop ? -card.height : card.height)
Behavior on y {
transform: Scale {
yScale: popupOpen ? 1 : 0
origin.y: isTop ? 0 : card.height
Behavior on yScale {
NumberAnimation {
duration: Cfg.Config.popupAnimDuration
easing.type: Easing.OutExpo
easing.type: Easing.OutBack
}
enabled: animEnabled
}