mirror of
https://github.com/godotengine/godot.git
synced 2024-09-22 07:22:18 +00:00
add check for selection when try to push a meta.
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
This commit is contained in:
parent
c0d189fbb8
commit
e6c909b489
|
@ -1841,8 +1841,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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user