pixelkiln 0.103.0 → 0.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3767,7 +3767,7 @@
3767
3767
  const body = el("div", "family-body");
3768
3768
  body.append(turntable(root, turnables, source, order));
3769
3769
  body.append(loopGrid(root, members, order));
3770
- const extras = members.filter((m) => m.character.kind === "portrait" || m.character.kind === "outfit");
3770
+ const extras = members.filter((m) => m.character.kind === "portrait" || m.character.kind === "outfit" || m.character.kind === "layer");
3771
3771
  if (extras.length) body.append(extrasStrip(extras));
3772
3772
  panel.append(body);
3773
3773
  host.append(scrim, panel);
@@ -4201,7 +4201,7 @@
4201
4201
  }
4202
4202
  function extrasStrip(extras) {
4203
4203
  const wrap = el("section", "family-extras");
4204
- wrap.append(el("h3", null, extras.some((e) => e.character.kind === "outfit") ? "Portraits and outfits" : extras.length === 1 ? "Portrait" : "Portraits"));
4204
+ wrap.append(el("h3", null, extras.some((e) => e.character.kind === "layer") ? "Portraits, outfits and layers" : extras.some((e) => e.character.kind === "outfit") ? "Portraits and outfits" : extras.length === 1 ? "Portrait" : "Portraits"));
4205
4205
  const strip = el("div", "fx-strip");
4206
4206
  for (const item of extras) {
4207
4207
  const b = el("button", "lg-cell tone-" + (STATE_TONE[item.state] || "dim"));