mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-22 08:50:56 +02:00
revert: image elements not flipping its content
This reverts commit cb989a6c66e62a02a8c04ce41f12507806c8d0a0.
This commit is contained in:
@@ -25,7 +25,6 @@ import {
|
||||
isArrowElement,
|
||||
isBoundToContainer,
|
||||
isFreeDrawElement,
|
||||
isImageElement,
|
||||
isLinearElement,
|
||||
isTextElement,
|
||||
} from "./typeChecks";
|
||||
@@ -702,7 +701,6 @@ export const resizeMultipleElements = (
|
||||
points?: Point[];
|
||||
fontSize?: number;
|
||||
baseline?: number;
|
||||
scale?: [-1 | 1, -1 | 1];
|
||||
} = {
|
||||
width,
|
||||
height,
|
||||
@@ -746,10 +744,6 @@ export const resizeMultipleElements = (
|
||||
}
|
||||
}
|
||||
|
||||
if (isImageElement(element.orig)) {
|
||||
update.scale = [flipFactorX, flipFactorY];
|
||||
}
|
||||
|
||||
updateBoundElements(element.latest, { newSize: { width, height } });
|
||||
|
||||
mutateElement(element.latest, update);
|
||||
|
Reference in New Issue
Block a user