Skip to content

Commit bbda969

Browse files
authored
Merge pull request #36 from httpsphl/fix/mascot-size
fix(app): the mascot fills its avatar as the first one did
2 parents ea4917f + bc7fe14 commit bbda969

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎app/src/features/bots/mascotArt.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ export interface Ellipse {
1414
turn: number;
1515
}
1616

17-
/** The drawing without room to hop or to throw sparks. */
18-
export const VIEW_BOX = [-124.2, -80.5, 860.5, 860.5] as const;
17+
/**
18+
* A square just around the body (x 29 to 583, y 129 to 740), with the same
19+
* thin margin the first mascot had: the body fills the avatar's height as
20+
* it did. Hops and sparks go past it; the avatar's SVG shows its overflow.
21+
*/
22+
export const VIEW_BOX = [-10.75, 117.25, 634, 634] as const;
1923

2024
/** Where the body sits, for the square of the app icon (`framed`). */
2125
export const CENTER = { x: 306, y: 404.8 };

0 commit comments

Comments
 (0)