mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-26 18:15:36 +00:00
Allow home and end function keys as unqualified key equivalents. Manual test for home and end function keys.
This commit is contained in:
1 parent
9a032a57d0
commit
f72749fbd6
2 files changed
+5
-1
No files matched your search
@@ -576,6 +576,8 @@ var _CPEventPeriodicEventPeriod = 0,
|
||||
case CPUpArrowFunctionKey:
|
||||
case CPRightArrowFunctionKey:
|
||||
case CPDownArrowFunctionKey:
|
||||
case CPEndFunctionKey:
|
||||
case CPHomeFunctionKey:
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +83,9 @@
|
||||
["left arrow", CPLeftArrowFunctionKey],
|
||||
["up arrow", CPUpArrowFunctionKey],
|
||||
["right arrow", CPRightArrowFunctionKey],
|
||||
["down arrow", CPDownArrowFunctionKey]
|
||||
["down arrow", CPDownArrowFunctionKey],
|
||||
["home", CPHomeFunctionKey],
|
||||
["end", CPEndFunctionKey]
|
||||
];
|
||||
|
||||
for (var i = 0, buttonsWide = 6, yOffset = 0; i < functionKeysToTest.length; i++)
|
||||
|
||||
Reference in new issue
Block a user