Files
figcraft/docs
Denis Gomes 6c590e4e89 M3: Several selected instances show and set the properties they share
With two or more instances selected the Design panel showed no instance
properties, so changing a variant or a property meant selecting each
instance in turn. instance.setProperties already took several ids.

The panel now shows the variant, boolean, text and instance-swap
properties the selected instances share, matched by name and type. A
variant property lists only the values every one of their sets has, so
the command can't be refused for one of them. Where the values differ
the row reads Mixed (a dropdown's label, the text field's placeholder,
the checkbox's third state), and a value chosen there is set on every
selected instance in one step. A selection with any layer that isn't an
instance shows none of this. Slots are filled one instance at a time,
so their rows show only for one.

A single instance goes through the same code with one id. One
difference: a single instance's slot property whose slot can't be
found now shows no row, where it showed a label with nothing beside it.
swap_dropdown takes `mixed` to label such a row.

A text field that reads Mixed changes nothing when committed empty: the
field reports its text on every Enter or focus loss, edited or not, so
an empty commit there can't be told from a click in and out.
2026-11-19 15:41:56 -05:00
..