Enable escape as key equivalent.

This commit is contained in:
Aparajita Fishman
2011-05-30 23:18:43 -07:00
parent b3cbc7e362
commit a7929e6c1e
+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;
}