1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-03 16:55:53 +00:00

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

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;