diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-27 16:09:49 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-27 22:59:22 +0100 |
commit | 1bc91bfb670c927fff3af53fa5b941824e27f3e8 (patch) | |
tree | fff094ab88237cf6ba70ee5e66c7aeff37754c6e /CodingStyle | |
parent | f39e9001862f0550bc126d5fa0cd57a16657f755 (diff) | |
download | subsurface-1bc91bfb670c927fff3af53fa5b941824e27f3e8.tar.gz |
mapwidget.qml: make pan and zoom-in have the same duration
There was a problem with the current different duration
for pan and zoom. Ideally the pan should before the zoom:
Map zooms out -> pan to new center starts -> zoom in
The problem with this is that if the map pans out too much it
loses it's center and the above scheme would not work.
To solve the problem, make the duration of pan and zoom
the same this is not idea, but prevents the case where
the map would not zoom-in at the correct center.
Also remove the easing function.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'CodingStyle')
0 files changed, 0 insertions, 0 deletions