mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-24 07:53:09 +00:00
fix(studio): a sticker's colours join the book's palette
This commit is contained in:
@@ -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)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user