mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20: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 {
|
ParallelAnimation {
|
||||||
id: mapAnimation
|
id: mapAnimation
|
||||||
CoordinateAnimation {
|
CoordinateAnimation {
|
||||||
target: map
|
target: map; property: "center"; to: map.newCenter; duration: 2000;
|
||||||
property: "center"
|
|
||||||
to: map.newCenter
|
|
||||||
duration: 2000
|
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
target: map
|
target: map; property: "zoomLevel"; to: map.newZoom; duration: 3000; easing.type: Easing.InCubic;
|
||||||
property: "zoomLevel"
|
|
||||||
to: map.newZoom
|
|
||||||
duration: 3000
|
|
||||||
easing.type: Easing.InCubic
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue