mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-02 18:46:00 +01:00
fix trashing cached canvases in LinearElementEditor.getElementAbsoluteCoords
This commit is contained in:
@@ -1949,11 +1949,7 @@ export class LinearElementEditor {
|
||||
elementsMap: ElementsMap,
|
||||
includeBoundText: boolean = false,
|
||||
): [number, number, number, number, number, number] => {
|
||||
const shape = ShapeCache.generateElementShape(element, {
|
||||
isExporting: true,
|
||||
canvasBackgroundColor: "traansparent",
|
||||
embedsValidationStatus: new Map(),
|
||||
});
|
||||
const shape = ShapeCache.generateElementShape(element, null);
|
||||
|
||||
// first element is always the curve
|
||||
const ops = getCurvePathOps(shape[0]);
|
||||
|
||||
Reference in New Issue
Block a user