fixed macOptionIsMeta on macOS and added Alt-Shift-Letter key handling
This commit is contained in:
@@ -13,6 +13,7 @@ function testEvaluateKeyboardEvent(partialEvent: {
|
||||
shiftKey?: boolean;
|
||||
metaKey?: boolean;
|
||||
keyCode?: number;
|
||||
code?: string;
|
||||
key?: string;
|
||||
type?: string;
|
||||
}, partialOptions: {
|
||||
@@ -26,6 +27,7 @@ function testEvaluateKeyboardEvent(partialEvent: {
|
||||
shiftKey: partialEvent.shiftKey || false,
|
||||
metaKey: partialEvent.metaKey || false,
|
||||
keyCode: partialEvent.keyCode !== undefined ? partialEvent.keyCode : 0,
|
||||
code: partialEvent.code || '',
|
||||
key: partialEvent.key || '',
|
||||
type: partialEvent.type || ''
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user