mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fixed carret settings resetting (2.1)
This commit is contained in:
parent
1a934a58e4
commit
dcaa7ba2b8
2 changed files with 2 additions and 2 deletions
|
|
@ -543,7 +543,7 @@ void LineEdit::_notification(int p_what) {
|
|||
switch (p_what) {
|
||||
#ifdef TOOLS_ENABLED
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
if (get_tree()->is_editor_hint()) {
|
||||
if (get_tree()->is_editor_hint() && !get_tree()->is_node_being_edited(this)) {
|
||||
cursor_set_blink_enabled(EDITOR_DEF("text_editor/caret_blink", false));
|
||||
cursor_set_blink_speed(EDITOR_DEF("text_editor/caret_blink_speed", 0.65));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue