From 399e9104445744bfeafd7778b466692cae548b05 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 1 Jun 2012 20:00:27 -0300 Subject: Added more property changes to the transitions in the Main qml. That's for the sake of clarity. Reviewed-by: Trust me --- src/mobile/qml/Main.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml index 1020ce8..761448d 100644 --- a/src/mobile/qml/Main.qml +++ b/src/mobile/qml/Main.qml @@ -152,24 +152,33 @@ Rectangle { State { name: "favorites" PropertyChanges { target: plusButton; opacity: 1 } + PropertyChanges { target: panelToggle; opacity: 1 } PropertyChanges { target: topSitesPanel; opacity: 1 } + PropertyChanges { target: navigationPanel; opacity: 0 } }, State { name: "navigation" StateChangeScript { script: panelToggle.resetToTabs() } PropertyChanges { target: plusButton; opacity: 1 } + PropertyChanges { target: panelToggle; opacity: 1 } + PropertyChanges { target: topSitesPanel; opacity: 0 } PropertyChanges { target: navigationPanel; opacity: 1 } }, State { name: "navigationFullScreen" StateChangeScript { script: panelToggle.resetToTabs() } + PropertyChanges { target: plusButton; opacity: 0 } PropertyChanges { target: panelToggle; opacity: 0 } + PropertyChanges { target: topSitesPanel; opacity: 0 } PropertyChanges { target: navigationPanel; opacity: 1 } }, State { name: "typeNewUrl" PropertyChanges { target: urlInputPanel; opacity: 1 } + PropertyChanges { target: plusButton; opacity: 0 } PropertyChanges { target: panelToggle; opacity: 0 } + PropertyChanges { target: topSitesPanel; opacity: 0 } + PropertyChanges { target: navigationPanel; opacity: 0 } } ] -- cgit v1.2.1