Merge pull request #107055 from roughbits01/line-edit-drag-selection
Fix LineEdit continues to force showing the caret after drag is aborted
This commit is contained in:
commit
56b492d154
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue