Aakansha Doshi 2 年之前
父節點
當前提交
993294ac08
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/element/textMeasurements.ts

+ 2 - 2
src/element/textMeasurements.ts

@@ -324,10 +324,10 @@ const DEFAULT_LINE_HEIGHT = {
   // ~1.25 is the average for Virgil in WebKit and Blink.
   // Gecko (FF) uses ~1.28.
   [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.
   [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"],
 };