on xenial help sign in
Make dropshadows invisible if greeter is
commit9f6ce9e6c8fe6ee8eb73bde78729b8fb15b49b1b authorMichael Terry <michael.terry@canonical.com> dateWed 9 Apr 2014, 13:50 (13 years ago) parent2fef0bb
2 files changed+7−4
qml/Greeter/Greeter.qml+2 qml/Shell.qml+5−4
qml/Greeter/Greeter.qml+2
@@ -176,6 +176,7 @@ Showable {
176176 anchors.left: parent.right
177177 anchors.top: parent.top
178178 anchors.bottom: parent.bottom
179+ visible: parent.visible
179180 fillMode: Image.Tile
180181 source: "../graphics/dropshadow_right.png"
181182 }
@@ -185,6 +186,7 @@ Showable {
185186 anchors.right: parent.left
186187 anchors.top: parent.top
187188 anchors.bottom: parent.bottom
189+ visible: parent.visible
188190 fillMode: Image.Tile
189191 source: "../graphics/dropshadow_left.png"
190192 }
qml/Shell.qml+5−4
@@ -364,9 +364,11 @@ FocusScope {
364364
365365 Item {
366366 // Just a tiny wrapper to adjust greeter's x without messing with its own dragging
367− width: parent.width
368− height: parent.height
369367 x: launcher.progress
368+ y: panel.panelHeight
369+ width: parent.width
370+ height: parent.height - panel.panelHeight
371+
370372 Behavior on x {SmoothedAnimation{velocity: 600}}
371373
372374 Rectangle {
@@ -385,9 +387,8 @@ FocusScope {
385387
386388 defaultBackground: shell.background
387389
388− y: panel.panelHeight
389390 width: parent.width
390− height: parent.height - panel.panelHeight
391+ height: parent.height
391392
392393 dragHandleWidth: shell.edgeSize
393394