FlowContainer fix uninitialized data

This uninitialized data was finding its way into the renderer.
This commit is contained in:
lawnjelly 2022-09-06 08:45:39 +01:00
parent 4d4c6c187d
commit fa4a325180

View File

@ -243,6 +243,8 @@ int FlowContainer::get_line_count() const {
FlowContainer::FlowContainer(bool p_vertical) {
vertical = p_vertical;
cached_size = 0;
cached_line_count = 0;
}
void FlowContainer::_bind_methods() {