mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update textWysiwyg.tsx
This commit is contained in:
parent
340b9757c3
commit
c1f8eca7de
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue