mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
mapwidget.qml: reduce the properies in mapAnimation to single lines
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
11eaea01dd
commit
6aa57ce7f7
1 changed files with 2 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue