diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-20 01:11:10 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 6aa57ce7f75e8c8a0f62ee71a15ed11f3d6bf8e9 (patch) | |
tree | 35cce3b5c244dac1201e185f65d7b7551c30b367 /mobile-widgets/qml | |
parent | 11eaea01dde93cbf76e56afe1dbd65300dd104f5 (diff) | |
download | subsurface-6aa57ce7f75e8c8a0f62ee71a15ed11f3d6bf8e9.tar.gz |
mapwidget.qml: reduce the properies in mapAnimation to single lines
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 11 |
1 files 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; } } |