mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: lines bound text rotation
This commit is contained in:
parent
0ca1140e13
commit
fd0baecb48
1 changed files with 3 additions and 1 deletions
|
@ -789,7 +789,9 @@ export const resizeMultipleElements = (
|
||||||
|
|
||||||
const boundTextElement = getBoundTextElement(latestElement);
|
const boundTextElement = getBoundTextElement(latestElement);
|
||||||
if (boundTextElement) {
|
if (boundTextElement) {
|
||||||
mutateElement(boundTextElement, { angle });
|
if (!isLinearElement(latestElement)) {
|
||||||
|
mutateElement(boundTextElement, { angle });
|
||||||
|
}
|
||||||
handleBindTextResize(latestElement, transformHandleType);
|
handleBindTextResize(latestElement, transformHandleType);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue