mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fixes.
This commit is contained in:
parent
08f430b3ac
commit
34515f2952
3 changed files with 15 additions and 4 deletions
|
@ -170,7 +170,7 @@ export const textWysiwyg = ({
|
|||
const width = eMetrics.width;
|
||||
// Set to element height by default since that's
|
||||
// what is going to be used for unbounded text
|
||||
let textElementHeight = updatedTextElement.height;
|
||||
let textElementHeight = Math.max(updatedTextElement.height, maxHeight);
|
||||
if (container && updatedTextElement.containerId) {
|
||||
if (isArrowElement(container)) {
|
||||
const boundTextCoords =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue