From 7b50b12fe6ea1f6c3a3b24e3b4d87afad9fafaea Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 23 Oct 2026 21:24:09 +0200 Subject: [PATCH] fix(studio): a sticker's colours join the book's palette --- shared/src/book/book-paint.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/src/book/book-paint.ts b/shared/src/book/book-paint.ts index fb136e1ab..ebe1672c9 100644 --- a/shared/src/book/book-paint.ts +++ b/shared/src/book/book-paint.ts @@ -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)]; }