From c552ff4554edd5ad9f2fdfa1908e2e998a8b2c27 Mon Sep 17 00:00:00 2001 From: Preet <833927+pshihn@users.noreply.github.com> Date: Mon, 23 Oct 2023 21:48:35 -0700 Subject: [PATCH] added an explanatory comment --- src/components/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/App.tsx b/src/components/App.tsx index 30979a6a7..dcbc4e77e 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3759,6 +3759,8 @@ class App extends React.Component { if (selectedElements.length === 1 && isLinearElement(selectedElements[0])) { if (!event[KEYS.CTRL_OR_CMD]) { + // If double clicked without any ctrl/cmd modifier on top of a point, + // toggle split mode for that point. Else, treat as regular double click. const pointUnderCursorIndex = LinearElementEditor.getPointIndexUnderCursor( selectedElements[0],