mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
83fdc0f31b
commit
d11ed21f06
1 changed files with 3 additions and 1 deletions
|
|
@ -318,7 +318,9 @@ export class Files extends Model {
|
|||
} else if (target.tagName === "LI") {
|
||||
if (isOnlyMeta(event) && !event.altKey && !event.shiftKey) {
|
||||
target.classList.toggle("b3-list-item--focus");
|
||||
this.lastSelectedElement = target;
|
||||
if (target.classList.contains("b3-list-item__toggle")) {
|
||||
this.lastSelectedElement = target;
|
||||
}
|
||||
} else if (event.shiftKey && !event.altKey && isNotCtrl(event)) {
|
||||
// Shift+click 多选文档
|
||||
if (!document.contains(this.lastSelectedElement)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue