Browse Source

:art: fix https://github.com/siyuan-note/petal/issues/28

Vanessa 1 năm trước cách đây
mục cha
commit
a339144007
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/src/plugin/Setting.ts

+ 2 - 0
app/src/plugin/Setting.ts

@@ -7,6 +7,7 @@ export class Setting {
     private destroyCallback: () => void;
     private destroyCallback: () => void;
     private width: string;
     private width: string;
     private height: string;
     private height: string;
+    public dialog:Dialog;
 
 
     constructor(options: {
     constructor(options: {
         height?: string,
         height?: string,
@@ -97,5 +98,6 @@ export class Setting {
             }
             }
             dialog.destroy();
             dialog.destroy();
         });
         });
+        this.dialog = dialog;
     }
     }
 }
 }