[google-toolbox-for-mac] r317 committed - [Author: dmaclach]...

2 views
Skip to first unread message

google-tool...@googlecode.com

unread,
Mar 26, 2010, 2:05:55 PM3/26/10
to google-tool...@googlegroups.com
Revision: 317
Author: gtm.daemon
Date: Fri Mar 26 11:05:21 2010
Log: [Author: dmaclach]

Clean up issues brought up in recent TBR.
Check for single character, and check to make sure ctrl isn't down as well.

R=thomasvl
DELTA=2 (1 added, 0 deleted, 1 changed)
http://code.google.com/p/google-toolbox-for-mac/source/detail?r=317

Modified:
/trunk/AppKit/GTMNSAnimation+Duration.m

=======================================
--- /trunk/AppKit/GTMNSAnimation+Duration.m Thu Mar 25 17:33:37 2010
+++ /trunk/AppKit/GTMNSAnimation+Duration.m Fri Mar 26 11:05:21 2010
@@ -35,7 +35,8 @@
// and in the majority of cases slowing down the animations while
// navigating around UI elements is not desired.
if ((eventMask & NSKeyDownMask)
- && ([[event characters] length])
+ && !(modifiers & NSControlKeyMask)
+ && ([[event characters] length] == 1)
&& ([[event characters] characterAtIndex:0] == 25)) {
duration = duration;
} else {

Reply all
Reply to author
Forward
0 new messages