From 6aa57ce7f75e8c8a0f62ee71a15ed11f3d6bf8e9 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 20 Jul 2017 01:11:10 +0300 Subject: [PATCH] mapwidget.qml: reduce the properies in mapAnimation to single lines Signed-off-by: Lubomir I. Ivanov --- mobile-widgets/qml/MapWidget.qml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index a5d7b652f..542091d4a 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -69,17 +69,10 @@ Item { ParallelAnimation { id: mapAnimation CoordinateAnimation { - target: map - property: "center" - to: map.newCenter - duration: 2000 + target: map; property: "center"; to: map.newCenter; duration: 2000; } NumberAnimation { - target: map - property: "zoomLevel" - to: map.newZoom - duration: 3000 - easing.type: Easing.InCubic + target: map; property: "zoomLevel"; to: map.newZoom; duration: 3000; easing.type: Easing.InCubic; } }