Update path point instructions and fix button click handler binding
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user