mapwidget.qml: reduce the properies in mapAnimation to single lines

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-20 01:11:10 +03:00 committed by Dirk Hohndel
parent 11eaea01dd
commit 6aa57ce7f7

View file

@ -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;
}
}