[Editor] Add option to override editor UI layout direction.
This commit is contained in:
parent
ad72de5083
commit
932174fedf
10 changed files with 98 additions and 7 deletions
|
|
@ -2847,6 +2847,10 @@ ProjectManager::ProjectManager() {
|
|||
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
|
||||
}
|
||||
|
||||
int pm_root_dir = EDITOR_GET("interface/editor/ui_layout_direction");
|
||||
Control::set_root_layout_direction(pm_root_dir);
|
||||
Window::set_root_layout_direction(pm_root_dir);
|
||||
|
||||
EditorColorMap::create();
|
||||
EditorTheme::initialize();
|
||||
Ref<Theme> theme = create_custom_theme();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue