Fix main view style
commit63c1bae942f5d9a1f1bae47488ad9dc437ab5b4e
authorFlorian Boucault <florian.boucault@canonical.com>
dateWed 6 Aug 2014, 17:48 (12 years ago)
parent880c1f8
qml/Stages/MainViewStyle.qml+1−1
@@ -27,7 +27,7 @@ Item {
2727 The background texture of the main view. The image will be drawn over the background color,
2828 so if it has (semi-)transparent pixels, in those pixels the background color will be visible.
2929 */
30− property url backgroundSource: "graphics/background_paper.png"
30+ property url backgroundSource: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "graphics/background_paper.png" : ""
3131 property var theme
3232
3333 Gradient {