mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* feat: add line height attribute to text element * lint * update line height when redrawing text bounding box * fix tests * retain line height when pasting styles * fix test * create a util for calculating ling height using old algo * update line height when resizing multiple text elements * make line height backward compatible * udpate line height for older element when font size updated * remove logs * Add specs * lint * review fixes * simplify by changing `lineHeight` from px to unitless * make param non-optional * update comment * fix: jumping text due to font size being calculated incorrectly * update line height when font family is updated * lint * Add spec * more specs * rename to getDefaultLineHeight * fix getting lineHeight for potentially undefined fontFamily * reduce duplication * fix fallback * refactor and comment tweaks * fix --------- Co-authored-by: dwelle <luzar.david@gmail.com> |
||
---|---|---|
.. | ||
binding.ts | ||
bounds.test.ts | ||
bounds.ts | ||
collision.ts | ||
dragElements.ts | ||
Hyperlink.scss | ||
Hyperlink.tsx | ||
image.ts | ||
index.ts | ||
linearElementEditor.ts | ||
mutateElement.ts | ||
newElement.test.ts | ||
newElement.ts | ||
resizeElements.ts | ||
resizeTest.ts | ||
showSelectedShapeActions.ts | ||
sizeHelpers.test.ts | ||
sizeHelpers.ts | ||
sortElements.test.ts | ||
sortElements.ts | ||
textElement.test.ts | ||
textElement.ts | ||
textWysiwyg.test.tsx | ||
textWysiwyg.tsx | ||
transformHandles.ts | ||
typeChecks.test.ts | ||
typeChecks.ts | ||
types.ts |