1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-24 20:19:10 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Laurent Cozic
935fad3f28 Update NoteList.tsx 2023-03-15 14:32:52 +00:00
palerdot
f563ca1a33 fix(desktop): not showing copy icon when note is dragged to another notebook 2023-03-15 15:21:03 +05:30

View File

@@ -241,6 +241,7 @@ const NoteListComponent = (props: Props) => {
event.dataTransfer.setDragImage(new Image(), 1, 1);
event.dataTransfer.clearData();
event.dataTransfer.setData('text/x-jop-note-ids', JSON.stringify(noteIds));
event.dataTransfer.effectAllowed = 'move';
};
const renderItem = useCallback((item: any, index: number) => {