added an explanatory comment
This commit is contained in:
parent
26f9b54199
commit
c552ff4554
@ -3759,6 +3759,8 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
|
|
||||||
if (selectedElements.length === 1 && isLinearElement(selectedElements[0])) {
|
if (selectedElements.length === 1 && isLinearElement(selectedElements[0])) {
|
||||||
if (!event[KEYS.CTRL_OR_CMD]) {
|
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 =
|
const pointUnderCursorIndex =
|
||||||
LinearElementEditor.getPointIndexUnderCursor(
|
LinearElementEditor.getPointIndexUnderCursor(
|
||||||
selectedElements[0],
|
selectedElements[0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user