From bc7fe14413067eb74111e10d27f52d1527d22f27 Mon Sep 17 00:00:00 2001 From: Phelipe Lorran <112786693+httpsphl@users.noreply.github.com> Date: Tue, 29 Sep 2026 14:46:56 -0300 Subject: [PATCH] fix(app): the mascot fills its avatar as the first one did The shaded artwork kept the canvas it was drawn on, so the body filled only 71% of the avatar's height (the first mascot filled 96%) and every mascot looked a quarter smaller. The view box is now a square just around the body with the old margin; hops and sparks go past it, as the SVG shows its overflow. --- app/src/features/bots/mascotArt.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/features/bots/mascotArt.ts b/app/src/features/bots/mascotArt.ts index 419e438c..a0b86817 100644 --- a/app/src/features/bots/mascotArt.ts +++ b/app/src/features/bots/mascotArt.ts @@ -14,8 +14,12 @@ export interface Ellipse { turn: number; } -/** The drawing without room to hop or to throw sparks. */ -export const VIEW_BOX = [-124.2, -80.5, 860.5, 860.5] as const; +/** + * A square just around the body (x 29 to 583, y 129 to 740), with the same + * thin margin the first mascot had: the body fills the avatar's height as + * it did. Hops and sparks go past it; the avatar's SVG shows its overflow. + */ +export const VIEW_BOX = [-10.75, 117.25, 634, 634] as const; /** Where the body sits, for the square of the app icon (`framed`). */ export const CENTER = { x: 306, y: 404.8 };