Web: Files: added select with shift key
This commit is contained in:
parent
2fde4debb3
commit
7e5beccb47
@ -123,7 +123,7 @@ export default function withFileActions(WrappedFileItem) {
|
||||
onMouseClick = (e) => {
|
||||
const { viewAs, withCtrlSelect, item } = this.props;
|
||||
|
||||
if (e.ctrlKey) {
|
||||
if (e.ctrlKey || e.shiftKey) {
|
||||
withCtrlSelect(item);
|
||||
return;
|
||||
}
|
||||
|
@ -445,7 +445,7 @@ class Tile extends React.PureComponent {
|
||||
withCtrlSelect,
|
||||
} = this.props;
|
||||
|
||||
if (e.ctrlKey) {
|
||||
if (e.ctrlKey || e.shiftKey) {
|
||||
withCtrlSelect(item);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user