瀏覽代碼

Update textWysiwyg.tsx

zsviczian 2 年之前
父節點
當前提交
c1f8eca7de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/element/textWysiwyg.tsx

+ 1 - 1
src/element/textWysiwyg.tsx

@@ -347,7 +347,7 @@ export const textWysiwyg = ({
     boxSizing: "content-box",
     boxSizing: "content-box",
   });
   });
 
 
-  const magicOffset = 
+  const magicOffset =
     (excalidrawContainer
     (excalidrawContainer
       ? parseFloat(getComputedStyle(excalidrawContainer).fontSize)
       ? parseFloat(getComputedStyle(excalidrawContainer).fontSize)
       : 16) / 16;
       : 16) / 16;