Re: Strange mystery with Core Animation
Re: Strange mystery with Core Animation
- Subject: Re: Strange mystery with Core Animation
- From: Seth Willits <email@hidden>
- Date: Tue, 04 Oct 2011 22:20:15 -0700
On Oct 4, 2011, at 4:56 PM, Graham Cox wrote:
> Here's a weird one.
>
> I have some Core Animation layers (specifically, it's a CAReplicatorLayer), and I'm changing the 'instanceTransform' property in order to shift the position of the reflection up and down.
>
> When I trigger this code from a mouse click (through a checkbox, in a different window), all is well - the reflection position changes and animates, but when I trigger it through a key press (keyDown event), nothing happens. I have verified that the method does actually run in both cases, and has the exact same parameters. Other changes made to other layers at the same time do work correctly, it's just these reflection transforms that are being ignored.
>
> Can anyone offer any explanation for this?
Hmm. That would be an interesting one to play with if you can replicate it in a new project. The weirdest one I've come across is the CALayer convertPoint methods actually break CATransactions (sometimes).
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden