feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -261,13 +261,14 @@ void FlowContainer::_resort() {
|
|||
}
|
||||
cached_size = (vertical ? ofs.x : ofs.y) + line_height;
|
||||
cached_line_count = lines_data.size();
|
||||
cached_line_max_child_count = lines_data.size() > 0 ? lines_data[0].child_count : 0;
|
||||
}
|
||||
|
||||
Size2 FlowContainer::get_minimum_size() const {
|
||||
Size2i minimum;
|
||||
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
Control *c = as_sortable_control(get_child(i), SortableVisbilityMode::VISIBLE);
|
||||
Control *c = as_sortable_control(get_child(i), SortableVisibilityMode::VISIBLE);
|
||||
if (!c) {
|
||||
continue;
|
||||
}
|
||||
|
|
@ -339,6 +340,10 @@ int FlowContainer::get_line_count() const {
|
|||
return cached_line_count;
|
||||
}
|
||||
|
||||
int FlowContainer::get_line_max_child_count() const {
|
||||
return cached_line_max_child_count;
|
||||
}
|
||||
|
||||
void FlowContainer::set_alignment(AlignmentMode p_alignment) {
|
||||
if (alignment == p_alignment) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue