mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
Previously, the code assumed that in dividing up the space in the affected tracks there would never be an overshoot. Instead, we can check for each track how much extra space is left and never consume any extra. In the same way, we can ensure that all extra space is consumed by distributing all remaining extra space starting from the first track. Thus, if there is no growth limit, the space distribution should always consume all the extra space.
107 KiB
107 KiB