Skip to content

Commit

Permalink
Compatibility fix for Obsidian 0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Mar 28, 2022
1 parent f1f2633 commit 3410661
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "quick-explorer",
"name": "Quick Explorer",
"version": "0.1.17",
"version": "0.1.18",
"description": "Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard",
"minAppVersion": "0.13.23",
"isDesktopOnly": true
Expand Down
4 changes: 2 additions & 2 deletions src/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export class PopupMenu extends Menu {
visible: boolean = false
firstMove: boolean = false

constructor(public parent: MenuParent) {
super(parent instanceof App ? parent : parent.app);
constructor(public parent: MenuParent, public app: App = parent instanceof App ? parent : parent.app) {
super(app);
if (parent instanceof PopupMenu) parent.setChildMenu(this);

this.scope = new Scope;
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.1.17": "0.13.23",
"0.1.18": "0.13.23",
"0.1.9": "0.12.12",
"0.0.5": "0.12.10",
"0.0.1": "0.12.3"
Expand Down

0 comments on commit 3410661

Please sign in to comment.