Closed GoogleCodeExporter closed 9 years ago
Original comment by eskr...@mac.com
on 26 Oct 2013 at 3:16
Are you saying that CPTAnimation should refuse to create animations where the
start and end points are the same?
Original comment by eskr...@mac.com
on 26 Oct 2013 at 6:22
Well, because of the delegate invocations it might be better to create that
animation temporarily, but it doesn't need to be added to the animation queue.
Original comment by mike.lischke
on 27 Oct 2013 at 9:23
If the starting and ending values are the same, every intermediate update will
be the same, too. Most property setters check for this condition and don't
cause redraws. If an animation doesn't have a delegate, there's no point in
adding the animation to the queue. If it does have a delegate, I think we
should assume that the client expects the delegate to be called at the
appropriate times and therefore create and add the animation to the queue.
Original comment by eskr...@mac.com
on 27 Oct 2013 at 1:53
I'm fine with that. My proposal was just an idea how my actual issue can be
resolved, namely that I get an animcationCancelled: call for an animation which
is long over (at least time-wise). I'm not even sure it's the animation with
the same start and stop values that causes the trouble.
Original comment by mike.lischke
on 27 Oct 2013 at 2:04
This issue was closed by revision a0a7843cb3a1.
Original comment by eskr...@mac.com
on 2 Nov 2013 at 10:27
Original issue reported on code.google.com by
mike.lischke
on 26 Oct 2013 at 2:35