Fixed blinking text, issue 10432

This commit is contained in:
Paulb23 2017-08-19 09:55:42 +01:00
parent 81dde2687f
commit fb0e7f8f1c
1 changed files with 2 additions and 0 deletions

View File

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