File tree Expand file tree Collapse file tree 2 files changed +605
-516
lines changed
src/components/manager/mixins Expand file tree Collapse file tree 2 files changed +605
-516
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default {
101
101
const alreadySelected = this . selected [ type ] . includes ( path ) ;
102
102
103
103
// if pressed Ctrl -> multi select
104
- if ( event . ctrlKey ) {
104
+ if ( event . ctrlKey || event . metaKey ) {
105
105
if ( ! alreadySelected ) {
106
106
// add new selected item
107
107
this . $store . commit ( `fm/${ this . manager } /setSelected` , { type, path } ) ;
@@ -112,7 +112,9 @@ export default {
112
112
}
113
113
114
114
// single select
115
- if ( ! event . ctrlKey && ! alreadySelected ) this . $store . commit ( `fm/${ this . manager } /changeSelected` , { type, path } ) ;
115
+ if ( ! event . ctrlKey && ! alreadySelected && ! event . metaKey ) {
116
+ this . $store . commit ( `fm/${ this . manager } /changeSelected` , { type, path } ) ;
117
+ }
116
118
} ,
117
119
118
120
/**
You can’t perform that action at this time.
0 commit comments