Skip to content

Commit

Permalink
Desktop: Fixes #7881: Fixed icon when note is dragged across notebooks (
Browse files Browse the repository at this point in the history
  • Loading branch information
palerdot committed Mar 15, 2023
1 parent 6a3bf51 commit 89fc5e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-desktop/gui/NoteList/NoteList.tsx
Expand Up @@ -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) => {
Expand Down

0 comments on commit 89fc5e1

Please sign in to comment.