Browse Source

update_2020.12.30_10:47

zhangyu 4 years ago
parent
commit
bededa5e55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      persagy-web-edit/src/items/SBaseIconTextEdit.ts

+ 1 - 1
persagy-web-edit/src/items/SBaseIconTextEdit.ts

@@ -243,7 +243,7 @@ export class SBaseIconTextEdit extends SGraphEdit {
     }
 
     /** 文本字体 */
-    private _font: SFont = SFont("sans-serif", 12);
+    private _font: SFont = new SFont("sans-serif", 12);
     get font(): SFont {
         return this._font;
     } // Get font