소스 검색

Merge pull request #48872 from Chaosus/editor_fix_script_list_theme

Updates script list colors after theme is changed
Rémi Verschelde 4 년 전
부모
커밋
c0de820d40
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      editor/plugins/script_editor_plugin.cpp

+ 3 - 0
editor/plugins/script_editor_plugin.cpp

@@ -1503,6 +1503,9 @@ void ScriptEditor::_notification(int p_what) {
 			filename->add_theme_style_override("normal", editor->get_gui_base()->get_theme_stylebox("normal", "LineEdit"));
 
 			recent_scripts->set_as_minsize();
+
+			_update_script_colors();
+			_update_script_names();
 		} break;
 
 		case NOTIFICATION_READY: {