on xenial help sign in
bigger pin, fixed -8 highlight asset
commit813440e0fff6312f008931fc7e534930242e7f6a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 16 Feb 2016, 14:46 (11 years ago) parent5ade784
2 files changed+3−3
qml/Wizard/Pages/50-timezone.qml+3−3 qml/Wizard/Pages/data/timezonemap/timezone_-8.png
qml/Wizard/Pages/50-timezone.qml+3−3
@@ -156,7 +156,7 @@ LocalComponents.Page {
156156 //print("Clicked at city with coords:", longitude, latitude);
157157 //print("Clicked on TZ:", timeZone);
158158 //print("Highlight at (x,y):", longitudeToX(longitude, map.width), latitudeToY(latitude, map.height));
159− pinImage.x = Qt.binding(function() { return longitudeToX(longitude, map.width) - pinImage.width / 2; });
159+ pinImage.x = Qt.binding(function() { return longitudeToX(longitude, map.width) - pinImage.width; });
160160 pinImage.y = Qt.binding(function() { return latitudeToY(latitude, map.height) - pinImage.height; });
161161 }
162162 }
@@ -261,8 +261,8 @@ LocalComponents.Page {
261261 id: pinImage
262262 source: "data/timezonemap/pin.png"
263263 visible: x != 0 && y != 0
264− width: units.dp(8)
265− height: units.dp(16)
264+ width: units.dp(12)
265+ height: units.dp(20)
266266 z: map.z + 1
267267 }
268268 }
qml/Wizard/Pages/data/timezonemap/timezone_-8.png

Binary file not shown.