diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-20 01:33:15 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | ce309c15a75087ea8644b30d490637500008a403 (patch) | |
tree | 04089bd00defae187b58967f2902fb1b9d0dc1ef /core/dive.c | |
parent | 6aa57ce7f75e8c8a0f62ee71a15ed11f3d6bf8e9 (diff) | |
download | subsurface-ce309c15a75087ea8644b30d490637500008a403.tar.gz |
mapwidget.qml: use a seprate animation for zooming out
The animation sequence when deselecting a zoomed in map location, should
be:
- zoom out completely
- pan to center
To achieve that a new animation object is created - "mapAnimationZoomOut"
The previous zoom in animation is renamed to "mapAnimationZoomIn".
The map functions centerOnMapLocation() and deselectMapLocation()
now call the helper functions animateMapZoomIn() and animateMapZoomOut().
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'core/dive.c')
0 files changed, 0 insertions, 0 deletions