on xenial help sign in
remove Blend
commitc88e79f86e9ea5f7f48e1551e75f7f8e1b9a03e2 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 8 Mar 2016, 19:42 (11 years ago) parent9fa984b
1 file changed+4−9
qml/Wizard/Pages/50-timezone.qml+4−9
qml/Wizard/Pages/50-timezone.qml+4−9
@@ -16,7 +16,6 @@
1616
1717import QtQuick 2.4
1818import QtQuick.Layouts 1.1
19−import QtGraphicalEffects 1.0
2019import Ubuntu.Components 1.3
2120import Wizard 0.1
2221import Ubuntu.SystemSettings.TimeDate 1.0
@@ -237,8 +236,9 @@ LocalComponents.Page {
237236 sourceSize: Qt.size(map.width, map.height)
238237 fillMode: Image.PreserveAspectFit
239238 smooth: false
240− visible: false
239+ visible: mapContainer.visible
241240 asynchronous: true
241+ anchors.fill: parent
242242 }
243243
244244 Image {
@@ -246,14 +246,9 @@ LocalComponents.Page {
246246 sourceSize: Qt.size(map.width, map.height)
247247 fillMode: Image.PreserveAspectFit
248248 smooth: false
249− visible: false
249+ visible: selectedTimeZone != ""
250250 asynchronous: true
251− }
252−
253− Blend {
254− anchors.fill: map
255− source: backgroundImage
256− foregroundSource: highlightImage
251+ anchors.fill: backgroundImage
257252 }
258253
259254 Image {