Show all textured palette variants in classic picker

This commit is contained in:
chris 2025-12-19 09:42:29 -05:00
parent 4b9fee0a3e
commit f578de6458

View File

@ -280,7 +280,12 @@
});
}
const seen = new Set();
return out.filter(c => (seen.has(c.hex) ? false : (seen.add(c.hex), true)));
return out.filter(c => {
const key = `${c.image || ''}|${c.hex}`;
if (seen.has(key)) return false;
seen.add(key);
return true;
});
}
// -------- tiny grid engine (Mithril) ----------