Thanks, David. Overriding actionForKey to return nil for ³position² worked. I also added ³frame² and ³bounds² for resizing.
Now, any opinions on the toolbar animation? I don¹t see any public API to kill that in NSToolbar or NSWindow. On 5/24/14 3:29 PM, "David Duncan" <[email protected]> wrote: > > On May 24, 2014, at 10:02 AM, Gordon Apple <[email protected]> wrote: > >> > Two separate issues: >> > >> > 1. CALayer Animation. I have a movie sublayer which has an observer to >> > track an underlying draw object¹s bounds. When dragging the object, the >> > movie layer position lags. I¹ve tried ³removeAnimationForKey:@²position², >> > and ³removeAllAnimations² when creating the layer. I¹ve also tried the >> > latter, and ³[superlayer removeAllAnimations]² in the observer. Nothing >> > works. How do I kill that animation? > > For ways to kill it permanently for a given layer, see the docs on -[CALayer > actionForKey:]. > > For one-off type disables, see -[CATransaction setDisableActions:] > >> > 2. Toolbar animation. I have a window, sometimes used for screen capture. >> > When the user toggles the toolbar, I readjust the window position to keep >> > its content within the set capture rect. (Changing the capture rect will >> > kill any recording.) It works, but the toolbar animates, then jerks to the >> > correct position. Is there any way to kill toolbar animation? >> > >> > _______________________________________________ >> > >> > Cocoa-dev mailing list ([email protected]) >> > >> > 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: >> > https://lists.apple.com/mailman/options/cocoa-dev/david.duncan%40apple.com >> > >> > This email sent to [email protected] > > -- > David Duncan > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
