Synced qml/Stages/MainViewStyle.qml with latest toolkit.
commit43b95a0a97e8a81ec9a49d7b24bac1f957959bf8
authorFlorian Boucault <florian.boucault@canonical.com>
dateWed 27 Aug 2014, 15:30 (12 years ago)
parentdd4acd8
qml/Stages/MainViewStyle.qml+3−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: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "graphics/background_paper.png" : ""
30+ property url backgroundSource: "artwork/background_paper.png"
3131 property var theme
3232
3333 Gradient {
@@ -49,6 +49,8 @@ Item {
4949 anchors.fill: parent
5050 source: mainViewStyle.backgroundSource
5151 fillMode: Image.Tile
52+ asynchronous: true
53+ cache: false
5254 }
5355
5456 QtObject {