Merge pull request #93444 from JaviARodriguez/Open-source-Contribution

Fix FlowContainer scale from also scaling wrap point
This commit is contained in:
Rémi Verschelde 2024-06-22 16:22:24 +02:00
commit e526f12c6f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ void FlowContainer::_resort() {
int line_height = 0;
int line_length = 0;
float line_stretch_ratio_total = 0;
int current_container_size = vertical ? get_rect().size.y : get_rect().size.x;
int current_container_size = vertical ? get_size().y : get_size().x;
int children_in_current_line = 0;
Control *last_child = nullptr;