mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
I had a grid container and tried to set rect.min_height larger in the editor; that caused an infinite loop in GridContainer::_notification at line 118. The reason is max_index was being set to the *height* of the row, not the *index* of the row. So later when it tried to erase that row and try again, there was nothing to erase. I applied the same fix to the width code. (cherry picked from commit 561e57df1386122714fae7b413be91e210b33b65)