mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
NozzleRackCard computed its rack base via min(present_ids), which breaks when the lowest-ID slot is the one currently mounted to a hotend — the firmware omits that ID from device.nozzle.info entirely, so min() picks the next slot up and every remaining nozzle renders one position too far left, with the "empty" placeholder pushed off the right end. Use the fixed H2C rack base of 16 (matching test_h2c_nozzle_rack_populated_with_8_entries in the backend) so the empty slot stays anchored to its physical position regardless of which nozzle is currently mounted. Adds a frontend regression test covering ID 16 missing.