Re: NSViewAnimation reversed when using NSAnimationEaseOut
Re: NSViewAnimation reversed when using NSAnimationEaseOut
- Subject: Re: NSViewAnimation reversed when using NSAnimationEaseOut
- From: Corbin Dunn <email@hidden>
- Date: Mon, 14 May 2012 13:28:50 -0700
On May 11, 2012, at 2:35 PM, Markus Spoettl <email@hidden> wrote:
> Hello,
>
> using NSViewAnimation to animate a window frame, when I set the animationCurve to NSAnimationEaseOut, the animation is reversed. I triple-checked and logged the frames and they are set up correctly. The animation dictionary looks like this:
>
> {
> NSViewAnimationEndFrameKey = "NSRect: {{1219, 900}, {376, 283}}";
> NSViewAnimationStartFrameKey = "NSRect: {{1213, 900}, {408, 307}}";
> NSViewAnimationTargetKey = "<SOShapeWindow: 0x10916fe20>";
> }
>
> yet the window expands, instead of shrinking. If I set NSAnimationEaseIn as animationCurve it works "correctly", just with the wrong animation curve.
Definitely log this as a bug.
corbin
_______________________________________________
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