Changed the glass animations to a more bubble-like animation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user