mirror of
https://github.com/Such-Software/such.software.git
synced 2026-10-17 05:32:05 +02:00
Nebula: fatten mobile streamers (undo aspect-squish), fade out the cursor
- Streamers were rendering and hitting the monitor but invisible on phones: preserveAspectRatio=none squishes the stroke horizontally on a narrow viewport, so 0.12 went sub-pixel. Fatten 2.5x on mobile so they actually show. - Terminal cursor now types 'such', backspaces, blinks ~6 times, then fades out completely instead of blinking forever (it was distracting).
This commit is contained in:
@@ -284,7 +284,10 @@ export const NebulaField = ({ className, density = 8, themeMode = 'dark', positi
|
||||
d={d}
|
||||
themeMode={themeMode}
|
||||
onHit={handleHit}
|
||||
width={themeMode === 'light' ? 0.08 : 0.12}
|
||||
// preserveAspectRatio="none" squishes the stroke horizontally on a narrow
|
||||
// phone, so the thin lines render sub-pixel and vanish. Fatten them on
|
||||
// mobile to compensate (dial: the 2.5x factor).
|
||||
width={(themeMode === 'light' ? 0.08 : 0.12) * (isMobile ? 2.5 : 1)}
|
||||
index={i}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user