summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2012-06-01 20:00:27 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2012-06-01 20:07:01 -0300
commit399e9104445744bfeafd7778b466692cae548b05 (patch)
tree7c6b2f0794704c5f56472466e761998f32d775ac
parent27b2aeed8b26d8c36bcfeda2fdb8ff80e57b564b (diff)
downloadsnowshoe-399e9104445744bfeafd7778b466692cae548b05.tar.gz
Added more property changes to the transitions in the Main qml.
That's for the sake of clarity. Reviewed-by: Trust me
-rw-r--r--src/mobile/qml/Main.qml9
1 files changed, 9 insertions, 0 deletions
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 }
}
]