Skip to content

Commit

Permalink
fix: type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Quorafind committed Apr 17, 2024
1 parent f1fc7c1 commit 32fb8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canvasMindMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export default class CanvasMindMap extends Plugin {

this.app.workspace.onLayoutReady(() => {
if (!patchEditor()) {
const evt = app.workspace.on("active-leaf-change", () => {
const evt = app.workspace.on("file-open", () => {
setTimeout(() => {
patchEditor() && app.workspace.offref(evt);
}, 100);
Expand Down

0 comments on commit 32fb8d6

Please sign in to comment.