Skip to content

Commit

Permalink
Support dragging off hover editors
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Dec 2, 2022
1 parent d025ced commit d4d991a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Quick Explorer",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.2.6",
"version": "0.2.7",
"description": "Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard",
"minAppVersion": "0.15.9",
"isDesktopOnly": true
Expand Down
2 changes: 1 addition & 1 deletion src/FolderMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class FolderMenu extends PopupMenu implements HoverParent {
onload() {
super.onload();
this.register(
onElement(this.dom.ownerDocument.body, "mousedown", ".hover-popover", (e, t) => {
onElement(this.dom.ownerDocument.body, "pointerdown", ".hover-popover", (e, t) => {
if (this.hoverPopover?.hoverEl === t) {
this.hoverPopover.togglePin?.(true);
this._popover = null;
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.2.6": "0.15.9",
"0.2.7": "0.15.9",
"0.1.41": "0.15.9",
"0.1.37": "0.14.5",
"0.1.23": "0.14.2",
Expand Down

0 comments on commit d4d991a

Please sign in to comment.