diff --git a/src/drag-patch.ts b/src/drag-patch.ts index 3e5867e..f049c78 100644 --- a/src/drag-patch.ts +++ b/src/drag-patch.ts @@ -1,6 +1,8 @@ -import { around } from "monkey-around"; import "obsidian"; + +import { around } from "monkey-around"; import { DragManager, TFile, TFolder } from "obsidian"; + import type ALxFolderNote from "./fn-main"; declare module "obsidian" { diff --git a/src/fn-main.ts b/src/fn-main.ts index d53610d..0295744 100755 --- a/src/fn-main.ts +++ b/src/fn-main.ts @@ -4,6 +4,7 @@ import { FolderNoteAPI, getApi as getFNCApi } from "@aidenlx/folder-note-core"; import { getApi as getISCApi } from "@aidenlx/obsidian-icon-shortcodes"; import { Notice, Plugin } from "obsidian"; +import PatchDragManager from "./drag-patch"; import PatchFileExplorer from "./fe-patch"; import { ClickNotice } from "./misc"; import registerSetFolderIconCmd from "./modules/set-folder-icon"; @@ -14,7 +15,6 @@ import { MobileNoClickMark, noHideNoteMark, } from "./settings"; -import PatchDragManager from "./drag-patch"; const foldervNotifiedKey = "foldervNotified";