mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-17 18:44:45 +02:00
Fixed regression
This commit is contained in:
parent
234b5c8363
commit
9dd2fb9674
@ -359,7 +359,7 @@ const NoteListComponent = (props: Props) => {
|
||||
if ((direction === -1)) {
|
||||
targetNoteIndex -= 1;
|
||||
}
|
||||
void Note.insertNotesAt(props.selectedFolderId, noteIds, targetNoteIndex);
|
||||
void Note.insertNotesAt(props.selectedFolderId, noteIds, targetNoteIndex, props.uncompletedTodosOnTop, props.showCompletedTodos);
|
||||
};
|
||||
|
||||
const onKeyDown = async (event: any) => {
|
||||
@ -368,7 +368,7 @@ const NoteListComponent = (props: Props) => {
|
||||
|
||||
if ((keyCode === 40 || keyCode === 38) && event.altKey) {
|
||||
// (DOWN / UP) & ALT
|
||||
await noteItem_noteMove(keyCode == 40 ? 1 : -1);
|
||||
await noteItem_noteMove(keyCode === 40 ? 1 : -1);
|
||||
event.preventDefault();
|
||||
} else if (noteIds.length > 0 && (keyCode === 40 || keyCode === 38 || keyCode === 33 || keyCode === 34 || keyCode === 35 || keyCode === 36)) {
|
||||
// DOWN / UP / PAGEDOWN / PAGEUP / END / HOME
|
||||
|
Loading…
Reference in New Issue
Block a user