@@ -31,8 +31,6 @@ Item {
3131
3232 signal searchClicked
3333
34− property real backgroundY: 0
35−
3634 PanelBackground {
3735 id: panelBackground
3836 anchors {
@@ -40,7 +38,7 @@ Item {
4038 right: parent.right
4139 }
4240 height: __panelMinusSeparatorLineHeight
43− y: backgroundY
41+ y: 0
4442
4543 Behavior on y { StandardAnimation {} }
4644 }
@@ -114,7 +112,7 @@ Item {
114112 PanelBackground {
115113 id: backgroundSearch
116114 height: __panelMinusSeparatorLineHeight
117− y: backgroundY
115+ y: panelBackground.y
118116 anchors {
119117 left: parent.left
120118 right: search.right
@@ -135,7 +133,6 @@ Item {
135133 GradientStop { position: 1.0; color: backgroundSearch.color }
136134 }
137135 }
138− Behavior on y { StandardAnimation {} }
139136 Behavior on opacity { StandardAnimation {} }
140137 }
141138
@@ -170,12 +167,12 @@ Item {
170167 State {
171168 name: "in" //fully opaque and visible at top edge of screen
172169 when: !fullscreenMode
173− PropertyChanges { target: root; backgroundY: 0 }
170+ PropertyChanges { target: panelBackground; y: 0 }
174171 },
175172 State {
176173 name: "out" //pushed off screen
177174 when: fullscreenMode
178− PropertyChanges { target: root; backgroundY: -panelHeight }
175+ PropertyChanges { target: panelBackground; y: -panelHeight }
179176 }
180177 ]
181178}