mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
Check metaKey and ctrlKey presence for multi platform support
Fixes #388
This commit is contained in:
parent
f0b0f35433
commit
878d1c0617
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class MultiselectList extends React.Component
|
|||
|
||||
_onClickItem: (item, event) =>
|
||||
return unless @state.handler
|
||||
if event.metaKey
|
||||
if event.metaKey || event.ctrlKey
|
||||
@state.handler.onMetaClick(item)
|
||||
else if event.shiftKey
|
||||
@state.handler.onShiftClick(item)
|
||||
|
|
Loading…
Reference in a new issue