on xenial help sign in
Merge
commitdba74133de552659e966b01aa2b3c279540d36d7 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 16 Nov 2015, 15:13 (11 years ago) parent786b09e9cea78e
1 file changed+1−7
qml/Dash/DashPageHeader.qml+1−7
qml/Dash/DashPageHeader.qml+1−7
@@ -440,15 +440,9 @@ Item {
440440 height: units.dp(1)
441441 opacity: 0.6
442442
443− // FIXME this should be a shader when bottomItem exists
444− // to support image backgrounds
445443 Rectangle {
446444 anchors.fill: parent
447− color: if (bottomItem && bottomItem.background) {
448− Qt.lighter(Qt.rgba(bottomItem.background.topColor.r,
449− bottomItem.background.topColor.g,
450− bottomItem.background.topColor.b, 1.0), 1.2);
451− } else if (!bottomItem && root.scopeStyle) {
445+ color: if (root.scopeStyle) {
452446 Qt.lighter(Qt.rgba(root.scopeStyle.background.r,
453447 root.scopeStyle.background.g,
454448 root.scopeStyle.background.b, 1.0), 1.2);