Update textWysiwyg.tsx
This commit is contained in:
parent
340b9757c3
commit
c1f8eca7de
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user