diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-15 10:58:06 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-15 10:58:06 +0100 |
| commit | e8113d8d0e33ef08f0754bc09735e8bb6d049f43 (patch) | |
| tree | 8ca00657f9288833998081ecc2e3f92a5b315c42 /tools/shadertoy/README.md | |
| parent | ceb2fcf2262858ccf8d8294d6b344b652ebc27bb (diff) | |
feat(timeline-editor): consolidate playback indicator positioning and improve UX
Major improvements to timeline editor playback indicator and user experience:
**Indicator positioning:**
- Consolidated all indicator positioning into single updateIndicatorPosition() function
- Removed dual indicator architecture (waveform + timeline), now single indicator spans full height
- Positioned at timeline-container level with correct offset calculation (beats * pixelsPerSecond + 20px)
- Indicator properly updates on all state changes: playback, zoom, BPM, seek, file load
**UX improvements:**
- Made BPM value editable (number input instead of span)
- Added faint vertical beat markers to waveform (rgba(255,255,255,0.15))
- Fixed keyboard event handling to not intercept number keys when typing in input fields
- Reset playback offset to 0 on file load and audio clear
**Bug fixes:**
- Removed timeline border-left that caused offset issues
- Fixed indicator not updating on mouse wheel zoom
- Fixed indicator visibility (z-index 110 above sticky header)
- All zoom/BPM/file operations now consistently update indicator
Architecture is now clean and maintainable with single source of truth for positioning.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/shadertoy/README.md')
0 files changed, 0 insertions, 0 deletions
