Fixed blinking text, issue 10432
This commit is contained in:
parent
81dde2687f
commit
fb0e7f8f1c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue