Use OpacityAnimators instead of NumberAnimations

This commit is contained in:
miruka
2019-11-30 11:29:59 -04:00
parent d1e1ed07dd
commit 6a442da16f
12 changed files with 25 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ HGridLayout {
(! avatar.mxc && overlayHover.hovered) ? 0.8 : 0.7
)
Behavior on opacity { HNumberAnimation {} }
Behavior on opacity { HOpacityAnimator {} }
Behavior on color { HColorAnimation {} }
HoverHandler { id: overlayHover }

View File

@@ -67,7 +67,7 @@ HBox {
opacity: nameField.text ? 0 : 1
visible: opacity > 0
Behavior on opacity { HNumberAnimation {} }
Behavior on opacity { HOpacityAnimator {} }
}
}