@@ -31,8 +31,6 @@ Item {
32 signal searchClicked
32 signal searchClicked
34− property real backgroundY: 0
36 PanelBackground {
34 PanelBackground {
37 id: panelBackground
35 id: panelBackground
@@ -40,7 +38,7 @@ Item {
40 right: parent.right
38 right: parent.right
42 height: __panelMinusSeparatorLineHeight
40 height: __panelMinusSeparatorLineHeight
43− y: backgroundY
41+ y: 0
45 Behavior on y { StandardAnimation {} }
43 Behavior on y { StandardAnimation {} }
@@ -114,7 +112,7 @@ Item {
114 PanelBackground {
112 PanelBackground {
115 id: backgroundSearch
113 id: backgroundSearch
116 height: __panelMinusSeparatorLineHeight
114 height: __panelMinusSeparatorLineHeight
117− y: backgroundY
115+ y: panelBackground.y
118 anchors {
116 anchors {
119 left: parent.left
117 left: parent.left
120 right: search.right
118 right: search.right
@@ -135,7 +133,6 @@ Item {
135 GradientStop { position: 1.0; color: backgroundSearch.color }
133 GradientStop { position: 1.0; color: backgroundSearch.color }
138− Behavior on y { StandardAnimation {} }
139 Behavior on opacity { StandardAnimation {} }
136 Behavior on opacity { StandardAnimation {} }
@@ -170,12 +167,12 @@ Item {
171 name: "in" //fully opaque and visible at top edge of screen
168 name: "in" //fully opaque and visible at top edge of screen
172 when: !fullscreenMode
169 when: !fullscreenMode
173− PropertyChanges { target: root; backgroundY: 0 }
170+ PropertyChanges { target: panelBackground; y: 0 }
176 name: "out" //pushed off screen
173 name: "out" //pushed off screen
177 when: fullscreenMode
174 when: fullscreenMode
178− PropertyChanges { target: root; backgroundY: -panelHeight }
175+ PropertyChanges { target: panelBackground; y: -panelHeight }