Aakansha Doshi 2 năm trước cách đây
mục cha
commit
ba22646c22
2 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 1
      src/element/textWysiwyg.tsx
  2. 0 2
      src/renderer/renderElement.ts

+ 0 - 1
src/element/textWysiwyg.tsx

@@ -27,7 +27,6 @@ import {
   getContainerDims,
   getContainerElement,
   getTextElementAngle,
-  getTextWidth,
   measureText,
   normalizeText,
   redrawTextBoundingBox,

+ 0 - 2
src/renderer/renderElement.ts

@@ -42,7 +42,6 @@ import {
 import { getStroke, StrokeOptions } from "perfect-freehand";
 import {
   getBoundTextElement,
-  getBoundTextElementOffset,
   getContainerCoords,
   getContainerElement,
   getLineHeightInPx,
@@ -51,7 +50,6 @@ import {
   getMaxContainerWidth,
 } from "../element/textElement";
 import { LinearElementEditor } from "../element/linearElementEditor";
-import heILJsonE0bd304682986695208c from "../packages/excalidraw/dist/excalidraw-assets-dev/locales/he-IL-json-e0bd304682986695208c";
 
 // using a stronger invert (100% vs our regular 93%) and saturate
 // as a temp hack to make images in dark theme look closer to original