mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03: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;
|
let select = true;
|
||||||
if (event && !event.altKey) {
|
if (event && !event.altKey) {
|
||||||
if (event.shiftKey && !event.ctrlKey && !event.metaKey) {
|
if (event.shiftKey && !event.ctrlKey && !event.metaKey) {
|
||||||
select = false;
|
|
||||||
const uid = this.getItemUid(item);
|
const uid = this.getItemUid(item);
|
||||||
if (uid && this.sLastUid && uid !== this.sLastUid) {
|
if (uid && this.sLastUid && uid !== this.sLastUid) {
|
||||||
let changeRange = false,
|
let changeRange = false,
|
||||||
|
|
@ -395,9 +394,10 @@ export class Selector {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.sLastUid = uid;
|
this.sLastUid = uid;
|
||||||
|
|
||||||
this.focusedItem(item);
|
this.focusedItem(item);
|
||||||
} else if (!event.shiftKey && (event.ctrlKey || event.metaKey)) {
|
return;
|
||||||
|
}
|
||||||
|
if (!event.shiftKey && (event.ctrlKey || event.metaKey)) {
|
||||||
select = false;
|
select = false;
|
||||||
this.focusedItem(item);
|
this.focusedItem(item);
|
||||||
const selected = this.selectedItem();
|
const selected = this.selectedItem();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue