mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-17 22:40:54 +02:00
Always show extreme points
This commit is contained in:
@@ -430,9 +430,10 @@ export class LinearElementEditor {
|
||||
previousPoint[1],
|
||||
);
|
||||
}
|
||||
const isExtremePoint = index === 0 || index === element.points.length - 1;
|
||||
if (
|
||||
appState.editingLinearElement ||
|
||||
element.points.length === 2 ||
|
||||
isExtremePoint ||
|
||||
distance >= 2 * LinearElementEditor.POINT_HANDLE_SIZE
|
||||
) {
|
||||
visiblePointIndexes.push(index);
|
||||
|
Reference in New Issue
Block a user