فهرست منبع

Update current script color on change

(cherry picked from commit a0136838b36261f21e6bd692089f7904895e807d)
Paulb23 9 سال پیش
والد
کامیت
9b9870ed9f
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      tools/editor/plugins/script_editor_plugin.cpp

+ 1 - 0
tools/editor/plugins/script_editor_plugin.cpp

@@ -2418,6 +2418,7 @@ void ScriptEditor::_editor_settings_changed() {
 		ste->get_text_edit()->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/show_breakpoint_gutter"));
 		ste->get_text_edit()->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/block_caret"));
 	}
+	_update_script_colors();
 
 	ScriptServer::set_reload_scripts_on_save(EDITOR_DEF("text_editor/auto_reload_and_parse_scripts_on_save",true));