Update path point instructions and fix button click handler binding

This commit is contained in:
2026-05-12 22:36:02 +02:00
parent 76afc30811
commit d5cc2ed50f

View File

@@ -21811,7 +21811,9 @@ export function App({
<div className="material-summary"> <div className="material-summary">
Edit authored point positions directly. Keep at least{" "} Edit authored point positions directly. Keep at least{" "}
{MIN_SCENE_PATH_POINT_COUNT} points. <code>Shift+W</code>{" "} {MIN_SCENE_PATH_POINT_COUNT} points. <code>Shift+W</code>{" "}
appends a new point to the end of the selected path. appends a new point to the end of the selected path. When
a point is selected, <code>Shift+D</code> appends one and
starts grab mode.
</div> </div>
{selectedPathPointIndex === null ? null : ( {selectedPathPointIndex === null ? null : (
<div className="material-summary"> <div className="material-summary">
@@ -21829,7 +21831,7 @@ export function App({
className="toolbar__button" className="toolbar__button"
type="button" type="button"
data-testid="add-path-point" data-testid="add-path-point"
onClick={handleAddPathPoint} onClick={() => handleAddPathPoint()}
> >
Add Point Add Point
</button> </button>