mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-25 02:10:38 +02:00
Update textWysiwyg.tsx
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user