on xenial help sign in
overview handle: opacity because of header pos, y because of opening
commitb799bef135374549196d07844893e08c76e41326 authorAlbert Astals <albert.astals@canonical.com> dateFri 8 Aug 2014, 11:11 (12 years ago) parent2ce45f8
1 file changed+3−4
qml/Dash/Dash.qml+3−4
qml/Dash/Dash.qml+3−4
@@ -327,14 +327,13 @@ Showable {
327327 Image {
328328 source: "graphics/overview_hint.png"
329329 anchors.horizontalCenter: parent.horizontalCenter
330− anchors.bottom: parent.bottom
331− opacity: overviewController.progress == 0 &&
332− (scopeItem.scope ? scopeItem.pageHeaderTotallyVisible : dashContent.pageHeaderTotallyVisible) &&
333− overviewDragHandle.enabled ? 1 : 0
330+ opacity: (scopeItem.scope ? scopeItem.pageHeaderTotallyVisible : dashContent.pageHeaderTotallyVisible) &&
331+ (overviewDragHandle.enabled || overviewController.progress != 0) ? 1 : 0
334332 Behavior on opacity {
335333 enabled: overviewController.progress == 0
336334 UbuntuNumberAnimation {}
337335 }
336+ y: parent.height - height * (1 - overviewController.progress * 4)
338337 }
339338
340339 EdgeDragArea {