Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

chat: dock online counter beneath the HUD corner label

Presence Y now derives from the HUD label's reported box (falls
back to 12px when unavailable), so the counter always clears the
piece's corner label instead of colliding with it at y=2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7 -2
+7 -2
system/public/aesthetic.computer/disks/chat.mjs
··· 1810 1810 const qrTotalWidth = qrSize > 0 ? qrSize + 6 : 0; 1811 1811 1812 1812 const presenceX = 6 + qrTotalWidth; 1813 - // Sit near the top of the screen, above the News/r8dio banner. 1813 + // Sit just below the HUD corner label so the counter doesn't have to 1814 + // dodge it horizontally. Falls back to a sensible default when the HUD 1815 + // label hasn't reported a box yet. 1814 1816 const matrixChunky8Height = 8; 1815 - const presenceY = 2; 1817 + const hudLabelBottom = hudLabelBox 1818 + ? (hudLabelBox.y ?? 0) + (hudLabelBox.h ?? 0) 1819 + : 12; 1820 + const presenceY = hudLabelBottom + 3; 1816 1821 1817 1822 const onlineFgColor = theme?.timestamp || 160; 1818 1823 const tickerLeftEdge = screen.width - 230; // Reserve space for News/r8Dio