mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-08 00:09:27 -05:00
remove height animation to prevent jump on reposition
Height animation breaks when popup auto repositions from down to up. Simple fade animation works smoothly regardless of direction.
This commit is contained in:
@@ -110,14 +110,7 @@ ComboBox {
|
||||
property: "opacity"
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 200
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
NumberAnimation {
|
||||
property: "height"
|
||||
from: 0
|
||||
to: popup.height
|
||||
duration: 200
|
||||
duration: 150
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
@@ -127,14 +120,7 @@ ComboBox {
|
||||
property: "opacity"
|
||||
from: 1
|
||||
to: 0
|
||||
duration: 150
|
||||
easing.type: Easing.InCubic
|
||||
}
|
||||
NumberAnimation {
|
||||
property: "height"
|
||||
from: popup.height
|
||||
to: 0
|
||||
duration: 150
|
||||
duration: 100
|
||||
easing.type: Easing.InCubic
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user