fix(canvas): start selection title rename on single click
Switch the editable selection title from onDoubleClick to onClick so renaming a node/layer title begins with a single click. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -149,7 +149,7 @@ function EditableSelectionTitle({
|
|||||||
aria-label={renameLabel}
|
aria-label={renameLabel}
|
||||||
title={title}
|
title={title}
|
||||||
onPointerDown={(event) => event.stopPropagation()}
|
onPointerDown={(event) => event.stopPropagation()}
|
||||||
onDoubleClick={(event) => {
|
onClick={(event) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
startEditing();
|
startEditing();
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user