Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

arena.mjs: fix up arrow button by adding missing box import

The up button buffer was missing 'box' in its destructuring (line 452),
but the code tries to use box() on lines 463-464 to draw decorative dots.
This caused the decorative dots to be undefined and not render.

The down, left, and right buttons all properly imported box, so only the
up button was missing it.

- Added 'box' to the destructuring: const { wipe, ink, line, box } = api;
- Allows decorative dots to render properly on the up arrow button

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

+1 -1
+1 -1
system/public/aesthetic.computer/disks/arena.mjs
··· 449 449 450 450 // Up arrow button 451 451 buttonBuffers.up = painting(28, 28, (api) => { 452 - const { wipe, ink, line } = api; 452 + const { wipe, ink, line, box } = api; 453 453 wipe(60, 75, 95, 255); // Blue background 454 454 ink(200, 220, 255); 455 455