Fixed too many little issues, check the issues closed today.
This commit is contained in:
@ -212,7 +212,7 @@ void LineEdit::_input_event(InputEvent p_event) {
|
||||
|
||||
emit_signal( "text_entered",text );
|
||||
// notify to hide soft keyboard
|
||||
notification(NOTIFICATION_FOCUS_EXIT);
|
||||
notification(NOTIFICATION_FOCUS_EXIT);
|
||||
return;
|
||||
} break;
|
||||
|
||||
@ -677,6 +677,7 @@ void LineEdit::selection_delete() {
|
||||
|
||||
undo_text = text;
|
||||
text.erase(selection.begin,selection.end-selection.begin);
|
||||
cursor_pos-=CLAMP( cursor_pos-selection.begin, 0, selection.end-selection.begin);
|
||||
|
||||
if (cursor_pos>=text.length()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user