Merge pull request #61182 from danielkariv/fix_misclick_selection

This commit is contained in:
Rémi Verschelde 2022-05-20 15:38:22 +02:00 committed by GitHub
commit 136da4d3bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1839,8 +1839,7 @@ void RichTextLabel::gui_input(const Ref<InputEvent> &p_event) {
deselect();
}
}
if (!b->is_double_click() && !scroll_updated) {
if (!b->is_double_click() && !scroll_updated && !selection.active) {
Item *c_item = nullptr;
bool outside = true;