On Tue Nov 26 10:19:24 2024 +0000, Zhiyi Zhang wrote:
Shouldn't you consider if the items are visible like in the `else` branch?
Good point. From what I saw on Windows, it didn't seem to do that but I will spend some time checking this again as it is a bit strange. I also should have put another test in where limit < num_items but they're both still smaller than the height so I will add that in.