mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-06 04:23:34 +00:00
Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
This commit is contained in:
@@ -367,7 +367,7 @@ void TabContainer::_child_renamed_callback() {
|
||||
|
||||
void TabContainer::add_child_notify(Node *p_child) {
|
||||
|
||||
Control::add_child_notify(p_child);
|
||||
Container::add_child_notify(p_child);
|
||||
|
||||
Control *c = Object::cast_to<Control>(p_child);
|
||||
if (!c)
|
||||
@@ -475,7 +475,7 @@ Control *TabContainer::get_current_tab_control() const {
|
||||
|
||||
void TabContainer::remove_child_notify(Node *p_child) {
|
||||
|
||||
Control::remove_child_notify(p_child);
|
||||
Container::remove_child_notify(p_child);
|
||||
|
||||
call_deferred("_update_current_tab");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user