Reorganise text editor settings
This commit is contained in:
@ -337,7 +337,7 @@ Error GDScriptParser::parse(const String &p_source_code, const String &p_script_
|
||||
int tab_size = 4;
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (EditorSettings::get_singleton()) {
|
||||
tab_size = EditorSettings::get_singleton()->get_setting("text_editor/indent/size");
|
||||
tab_size = EditorSettings::get_singleton()->get_setting("text_editor/behavior/indent/size");
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user