diff options
-rw-r--r-- | AppKit/GTMNSAnimation+Duration.h | 4 | ||||
-rw-r--r-- | AppKit/GTMNSAnimation+Duration.m | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/AppKit/GTMNSAnimation+Duration.h b/AppKit/GTMNSAnimation+Duration.h index 060d0b8..d899ca6 100644 --- a/AppKit/GTMNSAnimation+Duration.h +++ b/AppKit/GTMNSAnimation+Duration.h @@ -34,8 +34,8 @@ NSTimeInterval GTMModifyDurationBasedOnCurrentState(NSTimeInterval duration, // The standard eventmask that you want for the methods in this file. Some apps // (eg Chrome) may not want to have animations fire on key strokes, so will use -// just NSLeftMouseDownMask instead. -extern const NSUInteger kGTMLeftMouseDownAndKeyDownMask; +// just NSLeftMouseUpMask instead. +extern const NSUInteger kGTMLeftMouseUpAndKeyDownMask; // Categories for changing the duration of an animation based on the current // event. Right now they track the state of the shift and control keys to slow diff --git a/AppKit/GTMNSAnimation+Duration.m b/AppKit/GTMNSAnimation+Duration.m index 18ebf80..e3d0d81 100644 --- a/AppKit/GTMNSAnimation+Duration.m +++ b/AppKit/GTMNSAnimation+Duration.m @@ -18,8 +18,8 @@ #import "GTMNSAnimation+Duration.h" -const NSUInteger kGTMLeftMouseDownAndKeyDownMask - = NSLeftMouseDownMask | NSKeyDownMask; +const NSUInteger kGTMLeftMouseUpAndKeyDownMask + = NSLeftMouseUpMask | NSKeyDownMask; NSTimeInterval GTMModifyDurationBasedOnCurrentState(NSTimeInterval duration, NSUInteger eventMask) { |