Re: [PATCH weston] animation: also change stop value when updating a fade target

2014-07-30 Thread Jason Ekstrand
I just pushed this because it fixes a bug. I really don't like the fact that we have to track this separately from spring.target. We should probably fix the animation code so we don't. --Jason Ekstrand On Tue, Jul 29, 2014 at 4:56 PM, Jonny Lamb wrote: > If we're fading a view with weston_fad

[PATCH weston] animation: also change stop value when updating a fade target

2014-07-29 Thread Jonny Lamb
If we're fading a view with weston_fade_run() and half way through we want to unfade it we can use weston_fade_update() to set a new alpha target. When the animation finishes, reset_alpha() is called which ensures the alpha value of the view is exactly as requested. Although weston_fade_update() w