Add HX/YAnimator, used instead of HNumberAnimation
This commit is contained in:
7
src/qml/Base/HXAnimator.qml
Normal file
7
src/qml/Base/HXAnimator.qml
Normal file
@@ -0,0 +1,7 @@
|
||||
import QtQuick 2.12
|
||||
|
||||
XAnimator {
|
||||
duration: theme.animationDuration * factor
|
||||
|
||||
property real factor: 1.0
|
||||
}
|
7
src/qml/Base/HYAnimator.qml
Normal file
7
src/qml/Base/HYAnimator.qml
Normal file
@@ -0,0 +1,7 @@
|
||||
import QtQuick 2.12
|
||||
|
||||
YAnimator {
|
||||
duration: theme.animationDuration * factor
|
||||
|
||||
property real factor: 1.0
|
||||
}
|
Reference in New Issue
Block a user