mirror of https://github.com/godotengine/godot
Fix LineEdit forcing caret to show after aborted selection drag
This commit is contained in:
parent
1b37dacc18
commit
3e1e686d31
|
|
@ -1636,6 +1636,14 @@ void LineEdit::_notification(int p_what) {
|
|||
}
|
||||
drag_action = false;
|
||||
drag_caret_force_displayed = false;
|
||||
queue_redraw();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_MOUSE_EXIT: {
|
||||
if (drag_caret_force_displayed) {
|
||||
drag_caret_force_displayed = false;
|
||||
queue_redraw();
|
||||
}
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue