fix: lines bound text rotation

This commit is contained in:
Alex Kim
2023-05-04 21:51:27 +05:00
parent 0ca1140e13
commit fd0baecb48

View File

@@ -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);
} }
}); });