Files
vectorcraft/docs
dotCooCooanderolkarino 7eb1280a7f Width profiles: reorder the Profile list
Rows of the Profile drop-down below Uniform can be dragged to a new
place, and stroke.widthProfile.move {name, to} does the same from a
script. Uniform stays first. The order is kept with the preferences
(widthProfileOrder) and is stored only while it differs from the
default one.

- move takes a profile's id or its label, and refuses Uniform, an
  unknown name and a `to` past the last row.
- Moving a profile to the place it already has changes nothing.
- A deleted saved profile leaves the order, so one saved later under
  the same name goes to the end of the list.
- Reset Profiles also puts the built-ins back in their first order,
  and is enabled when only the order changed.

Ported from the reordering part of #10920.

Co-authored-by: erolkarino <[email protected]>
2026-12-05 13:03:50 -08:00
..
…