on xenial help sign in
Merge with lp:~azzar1/unity8/remove-UbuntuShapeForItem
commit839ed84b69ebfe292ceae6b4893f8ca343176ab4 authorAndrea Azzarone <azzaronea@gmail.com> dateThu 29 Sep 2016, 14:31 (10 years ago) parent9c6640ed9fc73a
1 file changed+10−8
qml/Stages/DesktopSpread.qml+10−8
qml/Stages/DesktopSpread.qml+10−8
@@ -314,15 +314,17 @@ FocusScope {
314314 UbuntuShape {
315315 Layout.preferredHeight: Math.min(units.gu(6), root.height * .05)
316316 Layout.preferredWidth: height * 8 / 7.6
317− source: Image {
318− anchors.fill: parent
319− source: model.application.icon
320− Rectangle {
317+ source: ShaderEffectSource {
318+ sourceItem: Image {
321319 anchors.fill: parent
322− color: "black"
323− opacity: clippedSpreadDelegate.highlightShown ? 0 : .1
324− Behavior on opacity {
325− UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
320+ source: model.application.icon
321+ Rectangle {
322+ anchors.fill: parent
323+ color: "black"
324+ opacity: clippedSpreadDelegate.highlightShown ? 0 : .1
325+ Behavior on opacity {
326+ UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
327+ }
326328 }
327329 }
328330 }