GNOME Bugzilla – Bug 722350
MapLocation: Re-add easing on goTo
Last modified: 2015-11-16 09:08:26 UTC
This patch re-adds easing on mapLocation.goTo for a much smoother transition. The problem before that made us go with clutters LINEAR animation mode was that we do two animations, one to fit both locations and one to then go to the target location. With an EASE_IN_OUT_* animation we would get a really bad animation. The solution in the patch below is to set the animation mode to EASE_IN_CIRC, do the ensureVisible and then set it to EASE_OUT_CIRC.
Created attachment 266480 [details] [review] MapLocation: Re-add easing on goTo This patch re-adds easing on mapLocation.goTo for a much smoother transition.
Review of attachment 266480 [details] [review]: ACK if you have tested it.
Yep, also added resetting of easing just to make sure.