summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Brandao <rafael.lobo@openbossa.org>2012-04-24 21:01:42 -0300
committerRafael Brandao <rafael.lobo@openbossa.org>2012-04-25 16:36:32 -0300
commitcaafcaf1b0533ccfaf13c00d21cc63ea74f29a65 (patch)
tree3d6a3404cd0f6c093d628af78ceeea388924d63e
parent121567b8f782d07d5207d3b68e1be7422463f325 (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.qml10
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"