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 cursor logic - show yellow cursor when unlocked

The pen lock state logic was inverted. Changed condition from 'if (penLocked)'
to 'if (!penLocked)' so the yellow crosshair appears when the pen is actually
unlocked/in FPS mode, and the default cyan cursor shows when locked.

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

+1 -1
+1 -1
system/public/aesthetic.computer/disks/arena.mjs
··· 1100 1100 function paint({ wipe, ink, screen, write, box, system, pen, canvas, api, painting, paste }) { 1101 1101 // 🎯 Switch cursor based on pen lock state (FPS mode vs UI mode) 1102 1102 if (api?.cursor) { 1103 - if (penLocked) { 1103 + if (!penLocked) { 1104 1104 // FPS mode: yellow crosshair cursor 1105 1105 const yellowCrosshair = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='16' y1='4' x2='16' y2='28' stroke='%23FFFF00' stroke-width='2'/%3E%3Cline x1='4' y1='16' x2='28' y2='16' stroke='%23FFFF00' stroke-width='2'/%3E%3C/svg%3E`; 1106 1106 api.cursor(`url('${yellowCrosshair}') 16 16, auto`);