diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-20 15:38:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 15:38:22 +0200 |
commit | 136da4d3bcc80d6645ec34e5a597a63f46dac7c2 (patch) | |
tree | 8ccb7399391f8fe0d2f1d70d6575e6a72d1e0aea /scene/gui | |
parent | ca4d2525bdea432548bffdae973efe4ac62dbfe5 (diff) | |
parent | e6c909b489282337328bca90b167b6f8158c1de9 (diff) |
Merge pull request #61182 from danielkariv/fix_misclick_selection
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/rich_text_label.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 78fd682c35..94c2a9e64b 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -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; |