Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/appkit.cs b/src/appkit.cs
index dbd712f..786a126 100644
--- a/src/appkit.cs
+++ b/src/appkit.cs
@@ -150,8 +150,8 @@ namespace MonoMac.AppKit {
[Export ("animationDidEnd:"), EventArgs ("NSAnimation")]
void AnimationDidEnd (NSAnimation animation);
- [Export ("animation:valueForProgress:"), DelegateName ("NSAnimationProgress"), DefaultValue (0.0)]
- float AnimationProgress (NSAnimation animation, float progress);
+ [Export ("animation:valueForProgress:"), DelegateName ("NSAnimationProgress"), DefaultValue ("progress")]
+ float OnGetCurve (NSAnimation animation, float progress);
[Export ("animation:didReachProgressMark:"), EventArgs ("NSAnimation")]
void AnimationDidReachProgressMark (NSAnimation animation, float progress);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.