mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
typo
This commit is contained in:
parent
f584416c9a
commit
993294ac08
1 changed files with 2 additions and 2 deletions
|
@ -324,10 +324,10 @@ const DEFAULT_LINE_HEIGHT = {
|
||||||
// ~1.25 is the average for Virgil in WebKit and Blink.
|
// ~1.25 is the average for Virgil in WebKit and Blink.
|
||||||
// Gecko (FF) uses ~1.28.
|
// Gecko (FF) uses ~1.28.
|
||||||
[FONT_FAMILY.Virgil]: 1.25 as ExcalidrawTextElement["lineHeight"],
|
[FONT_FAMILY.Virgil]: 1.25 as ExcalidrawTextElement["lineHeight"],
|
||||||
// ~1.15 is the average for Virgil in WebKit and Blink.
|
// ~1.15 is the average for Helvetica in WebKit and Blink.
|
||||||
// Gecko if all over the place.
|
// Gecko if all over the place.
|
||||||
[FONT_FAMILY.Helvetica]: 1.15 as ExcalidrawTextElement["lineHeight"],
|
[FONT_FAMILY.Helvetica]: 1.15 as ExcalidrawTextElement["lineHeight"],
|
||||||
// ~1.2 is the average for Virgil in WebKit and Blink, and kinda Gecko too
|
// ~1.2 is the average for Cascadia in WebKit and Blink, and kinda Gecko too
|
||||||
[FONT_FAMILY.Cascadia]: 1.2 as ExcalidrawTextElement["lineHeight"],
|
[FONT_FAMILY.Cascadia]: 1.2 as ExcalidrawTextElement["lineHeight"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue