From a33914400770cd7bd211017f7f65b30e0348250b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 22 May 2024 09:26:58 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/petal/issues/28 --- app/src/plugin/Setting.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/plugin/Setting.ts b/app/src/plugin/Setting.ts index c3b587665..3225c9285 100644 --- a/app/src/plugin/Setting.ts +++ b/app/src/plugin/Setting.ts @@ -7,6 +7,7 @@ export class Setting { private destroyCallback: () => void; private width: string; private height: string; + public dialog:Dialog; constructor(options: { height?: string, @@ -97,5 +98,6 @@ export class Setting { } dialog.destroy(); }); + this.dialog = dialog; } }