remove unused method

This commit is contained in:
Aakansha Doshi
2023-03-22 15:13:09 +05:30
parent ee8fff8e8b
commit 87b0c7a679
2 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -1290,7 +1290,7 @@ export class LinearElementEditor {
let midSegmentMidpoint = editorMidPointsCache.points[index];
if (element.points.length === 2) {
midSegmentMidpoint = centerPoint(points[0], points[1]);
}
}
if (
!midSegmentMidpoint ||
editorMidPointsCache.version !== element.version