mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
.
This commit is contained in:
parent
c2867c9a93
commit
0360e64219
2 changed files with 19 additions and 7 deletions
|
@ -1475,7 +1475,6 @@ export class LinearElementEditor {
|
|||
|
||||
static toggleSegmentSplitAtIndex(
|
||||
element: NonDeleted<ExcalidrawLinearElement>,
|
||||
appState: AppState,
|
||||
index: number,
|
||||
) {
|
||||
let found = false;
|
||||
|
@ -1491,7 +1490,7 @@ export class LinearElementEditor {
|
|||
}
|
||||
|
||||
mutateElement(element, {
|
||||
segmentSplitIndices: splitIndices,
|
||||
segmentSplitIndices: splitIndices.sort(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue