Skip to content
Browse files

Turn of shift-for-slow-motion feature. If the shortcut contains the s…

…hift key, it'll otherwise run slowly. Not what we want.
  • Loading branch information...
1 parent 062e413 commit 41071172163e39c65482c0eb13c87ff7b48c7c94 @uliwitness committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 NSWindow+ULIZoomEffect.m
View
4 NSWindow+ULIZoomEffect.m
@@ -68,7 +68,11 @@ -(id) initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backi
- (NSTimeInterval)animationResizeTime:(NSRect)newFrame
{
+#if 0 && DEBUG
return ([[NSApp currentEvent] modifierFlags] & NSShiftKeyMask) ? (mAnimationResizeTime * 10.0) : mAnimationResizeTime;
+#else
+ return mAnimationResizeTime;
+#endif
}
@end

0 comments on commit 4107117

Please sign in to comment.
Something went wrong with that request. Please try again.