Add HX/YAnimator, used instead of HNumberAnimation

This commit is contained in:
miruka 2019-11-30 11:45:24 -04:00
parent 6a442da16f
commit 68d7c11c58
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,7 @@
import QtQuick 2.12
XAnimator {
duration: theme.animationDuration * factor
property real factor: 1.0
}

View File

@ -0,0 +1,7 @@
import QtQuick 2.12
YAnimator {
duration: theme.animationDuration * factor
property real factor: 1.0
}

View File

@ -99,7 +99,7 @@ Column {
id: eventContent
width: parent.width
Behavior on x { HNumberAnimation {} }
Behavior on x { HXAnimator {} }
}