summaryrefslogtreecommitdiff
path: root/components/ISpringAnimation.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/ISpringAnimation.qml')
-rw-r--r--components/ISpringAnimation.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/ISpringAnimation.qml b/components/ISpringAnimation.qml
index 099cab4..0d13b59 100644
--- a/components/ISpringAnimation.qml
+++ b/components/ISpringAnimation.qml
@@ -2,6 +2,8 @@ import QtQuick
import qs.config
SpringAnimation {
- spring: General.springAnimationSpring
- damping: General.springAnimationDamping
+ property real speed: 1.0
+
+ spring: General.springAnimationSpring * (speed * speed)
+ damping: General.springAnimationDamping * (speed)
}