mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
Update textWysiwyg.tsx
This commit is contained in:
@ -347,7 +347,7 @@ export const textWysiwyg = ({
|
||||
boxSizing: "content-box",
|
||||
});
|
||||
|
||||
const magicOffset =
|
||||
const magicOffset =
|
||||
(excalidrawContainer
|
||||
? parseFloat(getComputedStyle(excalidrawContainer).fontSize)
|
||||
: 16) / 16;
|
||||
|
Reference in New Issue
Block a user