check for 2 pointer arrows

This commit is contained in:
Aakansha Doshi 2022-08-24 16:04:17 +05:30
parent fde521ef4d
commit 76910828c2

View File

@ -432,6 +432,7 @@ export class LinearElementEditor {
}
if (
appState.editingLinearElement ||
element.points.length === 2 ||
distance >= 2 * LinearElementEditor.POINT_HANDLE_SIZE
) {
visiblePointIndexes.push(index);