aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-28 15:34:13 -0400
committerbobzel <zzzman@gmail.com>2021-09-28 15:34:13 -0400
commitcaf4e2e6d14617a4105bd220e8441461c66a2e75 (patch)
tree826d664c6cf57316768bdd6cf20a4cbc2850de79
parentfd64e2e902fa28f31f81661c863d9f4e574d5d6b (diff)
fixed broken indices for ink curve splitting
-rw-r--r--src/client/views/InkStrokeProperties.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts
index 8821ef5e4..115e75c2a 100644
--- a/src/client/views/InkStrokeProperties.ts
+++ b/src/client/views/InkStrokeProperties.ts
@@ -87,7 +87,7 @@ export class InkStrokeProperties {
// Updating the indices of the control points whose handle tangency has been broken.
if (brokenIndices) {
brokenIndices = new List(brokenIndices.map((control) => {
- if (control >= i) {
+ if (control > i) {
return control + 4;
} else {
return control;