What's Changed
Refines the speedometer capsule's adaptive width system with a dual-layer ResizeObserver architecture that properly handles both growth and shrinkage animations.
🛠 Improvements
- Dual-layer ResizeObserver — observes an inner
.capsule-contentwrapper (no width constraint) instead of the outer capsule, eliminating the circular dependency that prevented shrinking - Symmetric CSS animations — both expansion and contraction are now smoothly animated via
transition: width 0.35son the JS-driven outer shell - 1-second debounced shrink — capsule expands instantly when content grows, but waits 1 second before shrinking to prevent jitter from rapid speed fluctuations
- Dynamic hPad computation — horizontal padding is recalculated on every observer tick instead of once on mount, ensuring CSS changes take effect without app restart
- Tightened layout spacing — reduced
min-width(100px) andlimit-zonemin-width (38px) for a more compact idle state
📦 Downloads
| Platform | Architecture | File |
|---|---|---|
| macOS | Apple Silicon · Intel | .dmg
|
| Windows | x64 · ARM64 | -setup.exe
|
| Linux | x64 · ARM64 | .AppImage .deb
|