fix(studio): a sticker's colours join the book's palette

This commit is contained in:
Maurice
2026-10-23 21:24:09 +02:00
parent d8f7143b4c
commit 7b50b12fe6
+2
View File
@@ -186,6 +186,8 @@ function elementColours(el: BookElement): string[] {
case 'text':
case 'icon':
return [lower(el.color)];
case 'sticker':
return el.colors.map(lower);
default:
return [lower(el.color), lower(el.accent)];
}