From dd4c1c15b5f4f178f55942ca6ffa63027fcb20df Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 10 Nov 2009 19:00:55 +0000 Subject: [Author: dmaclach] Put some better restrictions on the Animations so they don't happen by accident. Imitates the minimize window behaviour. R=thomasvl DELTA=15 (8 added, 0 deleted, 7 changed) --- AppKit/GTMNSAnimation+Duration.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AppKit/GTMNSAnimation+Duration.h') diff --git a/AppKit/GTMNSAnimation+Duration.h b/AppKit/GTMNSAnimation+Duration.h index ee4be84..4ed7ef9 100644 --- a/AppKit/GTMNSAnimation+Duration.h +++ b/AppKit/GTMNSAnimation+Duration.h @@ -23,6 +23,8 @@ // Given a "normal" duration for an animation, return what it should be based // on the current system state. For example, holding down the shift and/or // control keys modifies the normal duration for an animation making it slower. +// Currently only modifies the duration if the current event is of type +// NSLeftMouseUp and only the control and/or shift modifiers are down. NSTimeInterval GTMModifyDurationBasedOnCurrentState(NSTimeInterval duration); // Categories for changing the duration of an animation based on the current -- cgit v1.2.3