mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 07:20:21 +02:00
fix: incorrect placement of bound lines on flip
This commit is contained in:
@@ -95,7 +95,5 @@ const flipElements = (
|
||||
flipDirection === "horizontal" ? minY : maxY,
|
||||
);
|
||||
|
||||
elements.forEach((element) => updateBoundElements(element));
|
||||
|
||||
return elements;
|
||||
};
|
||||
|
@@ -784,8 +784,11 @@ export const resizeMultipleElements = (
|
||||
}
|
||||
}
|
||||
|
||||
updateBoundElements(latestElement, { newSize: { width, height } });
|
||||
mutateElement(latestElement, update);
|
||||
updateBoundElements(latestElement, {
|
||||
simultaneouslyUpdated: targetElements.map(({ latest }) => latest),
|
||||
newSize: { width, height },
|
||||
});
|
||||
|
||||
const boundTextElement = getBoundTextElement(latestElement);
|
||||
if (boundTextElement) {
|
||||
|
Reference in New Issue
Block a user