mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Linear element is not normalized (#9347)
All checks were successful
Tests / test (push) Successful in 5m4s
All checks were successful
Tests / test (push) Successful in 5m4s
* Fix #9292
This commit is contained in:
parent
c79e892e55
commit
b3d5ba0567
5 changed files with 73 additions and 44 deletions
|
@ -133,6 +133,7 @@ export class LinearElementEditor {
|
|||
};
|
||||
if (!pointsEqual(element.points[0], pointFrom(0, 0))) {
|
||||
console.error("Linear element is not normalized", Error().stack);
|
||||
LinearElementEditor.normalizePoints(element);
|
||||
}
|
||||
|
||||
this.selectedPointsIndices = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue