mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
-Ability to open resources in the same window
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
This commit is contained in:
@@ -51,6 +51,8 @@ void Container::add_child_notify(Node *p_child) {
|
||||
control->connect("size_flags_changed", this, "queue_sort");
|
||||
control->connect("minimum_size_changed", this, "_child_minsize_changed");
|
||||
control->connect("visibility_changed", this, "_child_minsize_changed");
|
||||
|
||||
minimum_size_changed();
|
||||
queue_sort();
|
||||
}
|
||||
|
||||
@@ -61,6 +63,7 @@ void Container::move_child_notify(Node *p_child) {
|
||||
if (!Object::cast_to<Control>(p_child))
|
||||
return;
|
||||
|
||||
minimum_size_changed();
|
||||
queue_sort();
|
||||
}
|
||||
|
||||
@@ -75,6 +78,8 @@ void Container::remove_child_notify(Node *p_child) {
|
||||
control->disconnect("size_flags_changed", this, "queue_sort");
|
||||
control->disconnect("minimum_size_changed", this, "_child_minsize_changed");
|
||||
control->disconnect("visibility_changed", this, "_child_minsize_changed");
|
||||
|
||||
minimum_size_changed();
|
||||
queue_sort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user