diff options
author | Rafael Brandao <rafael.lobo@openbossa.org> | 2012-04-24 21:01:42 -0300 |
---|---|---|
committer | Rafael Brandao <rafael.lobo@openbossa.org> | 2012-04-25 16:36:32 -0300 |
commit | caafcaf1b0533ccfaf13c00d21cc63ea74f29a65 (patch) | |
tree | 3d6a3404cd0f6c093d628af78ceeea388924d63e | |
parent | 121567b8f782d07d5207d3b68e1be7422463f325 (diff) |
Adjust transition to typing screen.
Not perfect yet, but more stable. After this change
I couldn't reproduce the "black keyboard" bug anymore.
Now, we wait for the keyboard to show to make further
animations (fading elements).
Reviewed-by: Alexis Menard
-rw-r--r-- | src/mobile/qml/Main.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml index 1d81787..71f557c 100644 --- a/src/mobile/qml/Main.qml +++ b/src/mobile/qml/Main.qml @@ -162,16 +162,18 @@ Rectangle { }, Transition { to: "typeNewUrl" - PropertyAnimation { property: "opacity"; duration: 300 } + PropertyAnimation { property: "opacity"; duration: 200; easing.type: Easing.InCubic } SequentialAnimation { - AnchorAnimation { duration: 300; easing.type: Easing.InOutQuad } + PauseAnimation { duration: 300 } ScriptAction { script: urlInputPanel.focusUrlBar() } } }, Transition { from: "typeNewUrl" - to: "navigationFullScreen" - PropertyAnimation { property: "opacity"; duration: 300; easing.type: Easing.InOutQuad } + SequentialAnimation { + PauseAnimation { duration: 300 } + PropertyAnimation { property: "opacity"; duration: 200; easing.type: Easing.InCubic } + } }, Transition { from: "navigation" |