Re: Constrained layer-backed control stops responding
Re: Constrained layer-backed control stops responding
- Subject: Re: Constrained layer-backed control stops responding
- From: David Duncan <email@hidden>
- Date: Mon, 9 Feb 2009 11:27:13 -0800
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 (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