From ea6000690022d43b6bc8e1a546d28729a59faf7b Mon Sep 17 00:00:00 2001
From: vkalev <vjk1883@gmail.com>
Date: Wed, 28 Jul 2021 13:14:10 -0400
Subject: snapping broken tangency added

---
 src/client/views/InkHandles.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/views/InkHandles.tsx')

diff --git a/src/client/views/InkHandles.tsx b/src/client/views/InkHandles.tsx
index 6e890e184..f1eb4b9db 100644
--- a/src/client/views/InkHandles.tsx
+++ b/src/client/views/InkHandles.tsx
@@ -51,6 +51,7 @@ export class InkHandles extends React.Component<InkHandlesProps> {
     onBreakTangent = (e: KeyboardEvent, controlIndex: number) => {
         const doc: Doc = this.props.inkDoc;
         if (["Alt"].includes(e.key)) {
+            e.stopPropagation();
             if (doc) {
                 const brokenIndices = Cast(doc.brokenInkIndices, listSpec("number")) || new List;
                 if (brokenIndices && !brokenIndices.includes(controlIndex)) {
-- 
cgit v1.2.3-70-g09d2

