Skip to content

Commit

Permalink
Fix #107 - Editor tag drop not working in 1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Sep 3, 2023
1 parent 840caa5 commit 1ffba17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "Tag Wrangler",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.5.11",
"minAppVersion": "0.15.9",
"version": "0.5.12",
"minAppVersion": "1.2.8",
"description": "Rename, merge, toggle, and search tags from the tag pane",
"isDesktopOnly": false
}
7 changes: 7 additions & 0 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ export default class TagWrangler extends Plugin {
title: tagName,
icon: "hashtag",
})
window.addEventListener("dragend", release, true);
window.addEventListener("drop", release, true);
function release() {
app.dragManager.draggable = null;
window.removeEventListener("dragend", release, true);
window.removeEventListener("drop", release, true);
}
}, {capture: false})
);

Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"0.5.11": "0.15.9",
"0.5.12": "1.2.8",
"0.5.5": "0.15.9",
"0.5.3": "0.14.5",
"0.5.2": "0.13.19",
Expand Down

0 comments on commit 1ffba17

Please sign in to comment.