on xenial help sign in
fix top margins for blur
b95cb03Michael Zanetti
qml/Launcher/Launcher.qml+6−2
@@ -323,10 +323,14 @@ FocusScope {
323 BackgroundBlur {
323 BackgroundBlur {
324 id: backgroundBlur
324 id: backgroundBlur
325 anchors.fill: parent
325 anchors.fill: parent
326+ anchors.topMargin: root.inverted ? 0 : -root.topPanelHeight
326 visible: root.blurSource && drawer.x > -drawer.width
327 visible: root.blurSource && drawer.x > -drawer.width
327 blurAmount: units.gu(6)
328 blurAmount: units.gu(6)
328 sourceItem: root.blurSource
329 sourceItem: root.blurSource
330+ blurRect: Qt.rect(panel.width,
331+ root.topPanelHeight,
329− blurRect: Qt.rect(panel.width, root.topPanelHeight, drawer.width + drawer.x - panel.width, height - root.topPanelHeight)
332+ drawer.width + drawer.x - panel.width,
333+ height - root.topPanelHeight)
330 cached: drawer.moving
334 cached: drawer.moving
331 }
335 }
332
336
@@ -335,7 +339,7 @@ FocusScope {
335 objectName: "drawer"
339 objectName: "drawer"
336 anchors {
340 anchors {
337 top: parent.top
341 top: parent.top
338− topMargin: root.topPanelHeight
342+ topMargin: root.inverted ? root.topPanelHeight : 0
339 bottom: parent.bottom
343 bottom: parent.bottom
340 }
344 }
341 width: Math.min(root.width, units.gu(90)) * .9
345 width: Math.min(root.width, units.gu(90)) * .9
qml/Shell.qml+1−1
@@ -520,7 +520,7 @@ StyledItem {
520 panelWidth: units.gu(settings.launcherWidth)
520 panelWidth: units.gu(settings.launcherWidth)
521 lockedVisible: shell.usageScenario == "desktop" && !settings.autohideLauncher && !panel.fullscreenMode
521 lockedVisible: shell.usageScenario == "desktop" && !settings.autohideLauncher && !panel.fullscreenMode
522 blurSource: greeter.shown ? greeter : stages
522 blurSource: greeter.shown ? greeter : stages
523− topPanelHeight: inverted ? panel.panelHeight : 0
523+ topPanelHeight: panel.panelHeight
524
524
525 onShowDashHome: showHome()
525 onShowDashHome: showHome()
526 onDash: showDash()
526 onDash: showDash()