소스 검색

Merge pull request #10439 from Paulb23/blinking_text_issue_10432

Fixed blinking text, issue 10432
Rémi Verschelde 8 년 전
부모
커밋
43d91faa2e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      scene/gui/text_edit.cpp

+ 2 - 0
scene/gui/text_edit.cpp

@@ -1028,6 +1028,8 @@ void TextEdit::_notification(int p_what) {
 
 					if (cursor.column == j && cursor.line == line && block_caret && draw_caret && !insert_mode) {
 						color = cache.caret_background_color;
+					} else if (!syntax_coloring && block_caret) {
+						color = cache.font_color;
 					}
 
 					if (str[j] >= 32) {