Show all textured palette variants in classic picker
This commit is contained in:
parent
4b9fee0a3e
commit
f578de6458
@ -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) ----------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user