mirror of
https://github.com/godotengine/godot.git
synced 2025-01-28 21:00:55 +00:00
fixed small refresh issue when moving docks
This commit is contained in:
parent
7674bad6c4
commit
f2a29aadc6
@ -3458,7 +3458,11 @@ void EditorNode::_dock_select_input(const InputEvent& p_input) {
|
||||
if (dock_slot[dock_popup_selected]->get_tab_count()==0) {
|
||||
dock_slot[dock_popup_selected]->hide();
|
||||
|
||||
} else {
|
||||
|
||||
dock_slot[dock_popup_selected]->set_current_tab(0);
|
||||
}
|
||||
|
||||
print_line("performing reparent");
|
||||
dock_slot[nrect]->add_child(dock);
|
||||
dock_popup_selected=nrect;
|
||||
|
Loading…
Reference in New Issue
Block a user