don't select tree node when dragging

This commit is contained in:
zadam 2020-04-11 15:09:38 +02:00
parent 242f139be4
commit b5bf581bd9
2 changed files with 2 additions and 4 deletions

View File

@ -134,9 +134,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
return false; return false;
} }
node.setSelected(true); const notes = this.getSelectedOrActiveNodes(node).map(node => ({
const notes = this.getSelectedNodes().map(node => ({
noteId: node.data.noteId, noteId: node.data.noteId,
title: node.title title: node.title
})); }));

View File

@ -743,7 +743,7 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
} }
.include-note { .include-note {
margin: 20px; margin-bottom: 10px;
padding: 20px; padding: 20px;
border-radius: 10px; border-radius: 10px;
background-color: var(--accented-background-color); background-color: var(--accented-background-color);