mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 15:31:04 +02:00
fix: lines bound text rotation
This commit is contained in:
@@ -789,7 +789,9 @@ export const resizeMultipleElements = (
|
|||||||
|
|
||||||
const boundTextElement = getBoundTextElement(latestElement);
|
const boundTextElement = getBoundTextElement(latestElement);
|
||||||
if (boundTextElement) {
|
if (boundTextElement) {
|
||||||
|
if (!isLinearElement(latestElement)) {
|
||||||
mutateElement(boundTextElement, { angle });
|
mutateElement(boundTextElement, { angle });
|
||||||
|
}
|
||||||
handleBindTextResize(latestElement, transformHandleType);
|
handleBindTextResize(latestElement, transformHandleType);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user