On Feb 8, 2009, at 9:54 PM, Alejandro Rodriguez wrote:

I have a NSView that is layer-backed (setWantsLayer:YES) and when I add it to another subview it works fine. But if I use a CAConstraint to chage it's location then controls inside the view stop responding to events. Any clues anyone?


Your more than likely desynchronizing the logical and visual locations of the view when you do this. AppKit manages the location of views separately from Core Animation, and thus if you move a view's layer via Core Animation, you are likely to confuse AppKit.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to