mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-18 09:56:50 +01:00
Ported: 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).
- danielkariv
47ead8504a
This commit is contained in:
parent
29234d3ac3
commit
c3bb14f49e
@ -1231,7 +1231,7 @@ void RichTextLabel::_gui_input(Ref<InputEvent> p_event) {
|
||||
|
||||
selection.click = nullptr;
|
||||
|
||||
if (!b->is_doubleclick() && !scroll_updated) {
|
||||
if (!b->is_doubleclick() && !scroll_updated && !selection.active) {
|
||||
int line = 0;
|
||||
Item *item = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user