Enable escape as key equivalent.

This commit is contained in:
Aparajita Fishman committed 2011-05-30 23:18:43 -07:00
1 parent b3cbc7e362
commit a7929e6c1e
1 file changed
+2 -2
+2 -2
View File
@@ -583,11 +583,11 @@ var _CPEventPeriodicEventPeriod = 0,
c === CPEnterCharacter ||
c === CPNewlineCharacter ||
c === CPCarriageReturnCharacter ||
c === CPEscapeFunctionKey ||
(!firstResponderIsText &&
(c === CPSpaceFunctionKey ||
c === CPDeleteCharacter ||
c === CPBackspaceCharacter ||
c === CPEscapeFunctionKey)))
c === CPBackspaceCharacter)))
{
return YES;
}