mirror of
https://github.com/godotengine/godot.git
synced 2024-11-29 15:42:29 +00:00
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) {
|
||||
color = cache.caret_background_color;
|
||||
} else if (!syntax_coloring && block_caret) {
|
||||
color = cache.font_color;
|
||||
}
|
||||
|
||||
if (str[j] >= 32) {
|
||||
|
Loading…
Reference in New Issue
Block a user