mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Don't hard-code hsplit count
This commit is contained in:
parent
4fcd85551c
commit
2fd881c40f
3 changed files with 10 additions and 5 deletions
|
|
@ -1004,6 +1004,10 @@ void EditorDockManager::register_dock_slot(DockSlot p_dock_slot, TabContainer *p
|
|||
EditorNode::get_singleton()->get_gui_base()->add_child(dock_drag_rects[p_dock_slot]);
|
||||
}
|
||||
|
||||
int EditorDockManager::get_hsplit_count() const {
|
||||
return hsplits.size();
|
||||
}
|
||||
|
||||
int EditorDockManager::get_vsplit_count() const {
|
||||
return vsplits.size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue