mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
Resolve #554
This commit is contained in:
parent
87d01c8bde
commit
5882cc6051
1 changed files with 3 additions and 3 deletions
|
@ -376,7 +376,6 @@ export class Selector {
|
|||
let select = true;
|
||||
if (event && !event.altKey) {
|
||||
if (event.shiftKey && !event.ctrlKey && !event.metaKey) {
|
||||
select = false;
|
||||
const uid = this.getItemUid(item);
|
||||
if (uid && this.sLastUid && uid !== this.sLastUid) {
|
||||
let changeRange = false,
|
||||
|
@ -395,9 +394,10 @@ export class Selector {
|
|||
});
|
||||
}
|
||||
this.sLastUid = uid;
|
||||
|
||||
this.focusedItem(item);
|
||||
} else if (!event.shiftKey && (event.ctrlKey || event.metaKey)) {
|
||||
return;
|
||||
}
|
||||
if (!event.shiftKey && (event.ctrlKey || event.metaKey)) {
|
||||
select = false;
|
||||
this.focusedItem(item);
|
||||
const selected = this.selectedItem();
|
||||
|
|
Loading…
Reference in a new issue