disallow dropping notes before/after available/visible launchers

This commit is contained in:
zadam 2022-12-24 07:22:05 +01:00
parent bff33932d9
commit 1d1e6ae782

View file

@ -439,6 +439,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
return false;
} else if (node.data.noteType === 'launcher') {
return ['before', 'after'];
} else if (['_lbAvailableLaunchers', '_lbVisibleLaunchers'].includes(node.data.noteId)) {
return ['over'];
} else {
return true;
}