Re: Pausing an animation

2019-09-19 Thread Gabriel Zachmann via Cocoa-dev
> Setting just the speed will often return you to the “beginning of time” for > your CAMediaTiming compliant object (CALayer and CAAnimation the most common > compliant objects). I think, this is what must have happened in my case. (It's just funny that it did not happen with one

Re: Pausing an animation

2019-09-17 Thread David Duncan via Cocoa-dev
> On Sep 17, 2019, at 1:19 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > I have a layer with two animations. > > I would like to pause this animation occasionally . > To do so, I set layer.speed = 0.0; > > In the past, this has worked (with slightly different animations). > However, in

Pausing an animation

2019-09-17 Thread Gabriel Zachmann via Cocoa-dev
I have a layer with two animations. I would like to pause this animation occasionally . To do so, I set layer.speed = 0.0; In the past, this has worked (with slightly different animations). However, in this case, the layer seems to just disappear. (the layer occupies the whole screen, and when