on xenial help sign in
some visual tweaks for the spread
54f8e37Michael Zanetti
qml/Components/EdgeBarrier.qml+1−1
@@ -59,7 +59,7 @@ Item {
59
59
60 visible: positionProgress > 0
60 visible: positionProgress > 0
61
61
62− width: units.gu(2)
62+ width: units.gu(1)
63 }
63 }
64
64
65 EdgeBarrierController {
65 EdgeBarrierController {
qml/Stages/DesktopSpreadDelegate.qml+15−1
@@ -56,6 +56,11 @@ Item {
56 }
56 }
57 ]
57 ]
58
58
59+ scale: highlightShown ? 1.025 : 1
60+ Behavior on scale {
61+ UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
62+ }
63+
59 BorderImage {
64 BorderImage {
60 anchors {
65 anchors {
61 fill: root
66 fill: root
@@ -70,7 +75,7 @@ Item {
70 anchors.fill: parent
75 anchors.fill: parent
71 anchors.margins: -units.gu(1)
76 anchors.margins: -units.gu(1)
72 color: "white"
77 color: "white"
73− opacity: highlightShown ? 0.15 : 0
78+ opacity: highlightShown ? 0.55 : 0
74 antialiasing: true
79 antialiasing: true
75 }
80 }
76
81
@@ -108,4 +113,13 @@ Item {
108 ]
113 ]
109 }
114 }
110 }
115 }
116+
117+ Rectangle {
118+ anchors.fill: parent
119+ color: "black"
120+ opacity: root.highlightShown ? 0 : .1
121+ Behavior on opacity {
122+ UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
123+ }
124+ }
111}
125}
qml/Stages/DesktopStage.qml+1−1
@@ -465,7 +465,7 @@ AbstractStage {
465 Rectangle {
465 Rectangle {
466 id: spreadBackground
466 id: spreadBackground
467 anchors.fill: parent
467 anchors.fill: parent
468− color: "#55000000"
468+ color: "#B3000000"
469 visible: false
469 visible: false
470 }
470 }
471
471