alonso.torres 9943472e86 🐛 Guard the WASM grid tracks against an empty track list
The grid layout of the WASM renderer counted the gaps between tracks as
the number of tracks less one, which underflows for an empty track list
(a panic in a debug build, a wrapped count in release), and spread the
space between tracks over that count, a division by zero for one track.
An empty list has no gap, and space between fewer than two tracks
starts them at the padding.

Tests: test_space_between_without_tracks_places_nothing,
test_space_between_with_one_track_starts_it_at_the_padding; the
render-wasm tests pass (364).

The component sync benchmark does not reach the renderer and is not run.

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:49 +01:00
..
2026-06-02 09:38:52 +02:00
2026-11-09 16:23:47 +01:00
2026-11-09 16:23:47 +01:00
2026-06-29 10:34:44 +02:00
2026-06-02 09:38:52 +02:00
2026-11-09 16:23:47 +01:00
2026-06-02 09:38:52 +02:00
2026-07-03 08:37:22 +02:00