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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user