fix: fix ctrl+click not selecting notes

This commit is contained in:
Antonella Sgarlatta
2021-05-13 16:11:03 -03:00
parent 97b999d18b
commit 9aa9841d88

View File

@@ -119,9 +119,8 @@ export class NotesState {
const note = this.application.findItem(uuid) as SNNote;
if (note) {
if (
this.io.activeModifiers.has(
KeyboardModifier.Meta || KeyboardModifier.Ctrl
)
this.io.activeModifiers.has(KeyboardModifier.Meta) ||
this.io.activeModifiers.has(KeyboardModifier.Ctrl)
) {
if (this.selectedNotes[note.uuid]) {
delete this.selectedNotes[note.uuid];