The palette beside the tools picks the next colour, not the selection's

Picking a slot there recoloured whatever was selected as well, so choosing
a colour for the next shape repainted the last one, which is usually still
selected because it was just drawn. It now only says what is drawn next.
Something already drawn is recoloured in the inspector, whose colour row
now offers clear and remap after the slots, as the strip does, so a shape
can still be made a knockout or a remap, and turned back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Olive Vaughn 2026-10-11 15:52:33 -04:00
parent 2eb5944a78
commit d2245d7720
3 changed files with 54 additions and 41 deletions

View file

@ -1809,7 +1809,8 @@ button.tl-gap:hover { background: rgba(47, 111, 192, .28); }
/* Clear is no colour: a knockout. Checkered, as transparency is everywhere. */
.palette-grid .clear,
.palette-grid .chip.clear {
.palette-grid .chip.clear,
.swatch.clear {
background-color: #fff;
background-image:
linear-gradient(45deg, #c9c9c5 25%, transparent 25%, transparent 75%, #c9c9c5 75%),
@ -1860,7 +1861,8 @@ button.tl-gap:hover { background: rgba(47, 111, 192, .28); }
shown as what is under the shape will be drawn in; the original is the chip
in its corner. */
.palette-grid .cell.map,
.palette-grid .chip.map {
.palette-grid .chip.map,
.swatch.map {
background: linear-gradient(135deg, #3a3f52 0 50%, #e8d9a8 50% 100%);
color: #fff; font-size: 11px; line-height: 1; text-shadow: 0 1px 1px rgba(0, 0, 0, .6);
}