Update clear button when clicked
(cherry picked from commit 836b78f329
)
This commit is contained in:
parent
8aeeec034d
commit
0c50509326
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
|||
if (!text.empty() && is_editable() && _is_over_clear_button(b->get_position())) {
|
||||
clear_button_status.press_attempt = true;
|
||||
clear_button_status.pressing_inside = true;
|
||||
update();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue