Merge pull request #104698 from bruvzg/loc_dir
Fix editor layout direction change on translation change.
This commit is contained in:
@ -658,6 +658,10 @@ bool EditorNode::_is_project_data_missing() {
|
||||
|
||||
void EditorNode::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_TRANSLATION_CHANGED: {
|
||||
callable_mp(this, &EditorNode::_titlebar_resized).call_deferred();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_POSTINITIALIZE: {
|
||||
EditorHelp::generate_doc();
|
||||
#if defined(MODULE_GDSCRIPT_ENABLED) || defined(MODULE_MONO_ENABLED)
|
||||
|
||||
Reference in New Issue
Block a user