summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Subsurface <dirk@subsurface-divelog.org>2017-10-05 22:27:20 -0700
committerGravatar GitHub <noreply@github.com>2017-10-05 22:27:20 -0700
commit95e5bcb081a46a869c569e0bec166934927b26cb (patch)
tree7e19474c01e91cda1db2082de38cf8e4a74385fc /mobile-widgets/qml/DiveDetails.qml
parent30be43c3113102c768d622688ea26ae4f69e2319 (diff)
parent49101b9f04a5654e1bae98f0972ddb9a1196eef2 (diff)
downloadsubsurface-95e5bcb081a46a869c569e0bec166934927b26cb.tar.gz
Merge pull request #642 from Subsurface-divelog/editStartsOnTop
Edit starts on top
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml32
1 files changed, 21 insertions, 11 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index b1357ef55..aa344817b 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -84,19 +84,29 @@ Kirigami.Page {
Transition {
from: "view"
to: "*"
- SequentialAnimation {
- NumberAnimation {
- target: detailsEditFlickable
- properties: "visible"
- from: 0
- to: 1
- duration: 10
+ ParallelAnimation {
+ SequentialAnimation {
+ NumberAnimation {
+ target: detailsEditFlickable
+ properties: "visible"
+ from: 0
+ to: 1
+ duration: 10
+ }
+ ScaleAnimator {
+ target: detailsEditFlickable
+ from: 0.3
+ to: 1
+ duration: 400
+ easing.type: Easing.InOutQuad
+ }
}
- ScaleAnimator {
+
+ NumberAnimation {
target: detailsEditFlickable
- from: 0.3
- to: 1
- duration: 400
+ property: "contentY"
+ to: 0
+ duration: 200
easing.type: Easing.InOutQuad
}
}