fix: Linear element is not normalized (#9347)
All checks were successful
Tests / test (push) Successful in 5m4s

* Fix #9292
This commit is contained in:
Márk Tolmács 2025-04-06 13:41:11 +02:00 committed by GitHub
parent c79e892e55
commit b3d5ba0567
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 44 deletions

View file

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