Strange mystery with Core Animation
Strange mystery with Core Animation
- Subject: Strange mystery with Core Animation
- From: Graham Cox <email@hidden>
- Date: Wed, 05 Oct 2011 10:56:43 +1100
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?
--Graham
_______________________________________________
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