Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

hud: flush-left hit region with breathing room past the text

x=0 so the tap area reaches the left screen edge, and the width extends
past the visible text by one blockWidth so it isn't uncomfortably tight.

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

+8 -3
+8 -3
system/public/aesthetic.computer/lib/disk.mjs
··· 14620 14620 ); 14621 14621 const descenderPad = Math.max(2, Math.round(hudBlockHeight * 0.2)); 14622 14622 const finalYClamped = Math.max(0, Math.round(finalY)); 14623 - // Text starts after the share-area left-pad, at currentHUDOffset.x (+ slide). 14623 + // Flush with the left edge of the screen; extend right past the text with a 14624 + // small padding so the tap area isn't uncomfortably tight. 14624 14625 const textStartX = currentHUDOffset.x + hudAnimationState.slideOffset.x; 14625 - currentHUDButton.box.x = Math.max(0, Math.round(textStartX)); 14626 + const rightPad = Math.max(4, Math.round(hudBlockWidth)); 14627 + currentHUDButton.box.x = 0; 14626 14628 currentHUDButton.box.y = 0; 14627 - currentHUDButton.box.w = visualTextWidth; 14629 + currentHUDButton.box.w = Math.max( 14630 + 1, 14631 + Math.round(Math.max(0, textStartX) + visualTextWidth + rightPad), 14632 + ); 14628 14633 currentHUDButton.box.h = Math.max(1, finalYClamped + textOnlyHeight + descenderPad); 14629 14634 14630 14635 // Mark HUD button to bypass the global HUD active check (it checks itself)