mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 12:38:18 +00:00
Width Point Edit: OK and Delete check the points and document they opened on
- OK and Delete on one or several existing points are refused when those points changed in any way since the dialog opened (place, widths, stroke weight, or pairing as a discontinuous point), or when another document is active. - OK with no width changed checks the selection before it closes. - An untouched Total Width above 100000 pt no longer blocks OK; a value set above 100000 pt is still refused. - A width set into a field that OK refuses stays there when another field is set afterward, and a negative width typed for several points is refused at OK instead of becoming 0. - `ui.widthPointEdit` refuses `index` together with `t`. - Double-clicking a selected width point passes every selected entry, so points at nearly one place are all edited.
This commit is contained in:
@@ -610,7 +610,7 @@ sets both halves in one `stroke.widthPoint.set` (one undo step), and Delete remo
|
||||
`ui.widthPointEdit {id, indices: [i…]}` opens it on several existing width points, as double-clicking one of several
|
||||
Shift-selected width points does. `indices` must be a nonempty array of profile indices; repeated indices count once,
|
||||
either half of a discontinuous point brings the other, and an index that is not a nonnegative whole number or not a
|
||||
width point of the stroke is an error, as is giving `indices` with `index` or `t`. When the indices name one width point
|
||||
width point of the stroke is an error, as is giving more than one of `index`, `indices` and `t`. When the indices name one width point
|
||||
(both halves of a discontinuous point count as one) it opens as `index` would. The fields are `indices` (every profile entry edited, in order), `side1`, `side2` and
|
||||
`totalWidth` (null where the points differ), `linked` and `adjustAdjoining`, and with a discontinuous point among them
|
||||
`outSide1`, `outSide2`, `outTotalWidth` and `outLinked` for the outgoing halves; the continuous points take both sets.
|
||||
@@ -619,7 +619,8 @@ as it was; `totalWidth` scales each point's own two sides to that total; a null
|
||||
`stroke.widthProfile.set` (one undo step), or nothing when no width changed, and Delete removes every point with
|
||||
`stroke.widthPoint.remove {id, indices}`. With `adjustAdjoining`, each changed point changes the nearest unselected
|
||||
point at another place before and after it in proportion to its change since the dialog opened; a point next to two
|
||||
changed points takes both changes. These rules for several points are VectorCraft's own.
|
||||
changed points takes both changes. These rules for several points are VectorCraft's own. Confirm and Delete on existing
|
||||
points, one or several, are refused when those points changed since the dialog opened or another document is active.
|
||||
|
||||
Corners: double-clicking a Live Corners widget with the Selection or Direct Selection tool, or `ui.corners {id?,
|
||||
corners?}`, opens the `corners` dialog for a path's corners (the Direct-Selected ones, else every corner; fields `id`,
|
||||
|
||||
Reference in New Issue
Block a user