1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

[Editor] Add option to override editor UI layout direction.

This commit is contained in:
bruvzg
2023-11-17 08:54:07 +02:00
parent ad72de5083
commit 932174fedf
10 changed files with 98 additions and 7 deletions

View File

@@ -6909,6 +6909,10 @@ EditorNode::EditorNode() {
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
}
int ed_root_dir = EDITOR_GET("interface/editor/ui_layout_direction");
Control::set_root_layout_direction(ed_root_dir);
Window::set_root_layout_direction(ed_root_dir);
ResourceLoader::set_abort_on_missing_resources(false);
ResourceLoader::set_error_notify_func(&EditorNode::add_io_error);
ResourceLoader::set_dependency_error_notify_func(&EditorNode::_dependency_error_report);