diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-09-17 12:55:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 12:55:47 +0200 |
commit | 317512e2fb47cb024c58b907a149251882665580 (patch) | |
tree | e0e942434f25e716908fc8cb20df4bf0f0d60ae9 /scene/gui | |
parent | c74bab66aaaef355ef8ac8d7e1a249509fad544e (diff) | |
parent | 8d1792a294e0adce99004d40d5f8ac1d81b9cf7d (diff) | |
download | redot-engine-317512e2fb47cb024c58b907a149251882665580.tar.gz |
Merge pull request #11301 from volzhs/fix-richtextlabel
Make clickable properly in editor help
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/rich_text_label.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index ab2c2f445f..71b9c4ec72 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -540,14 +540,6 @@ void RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int it = _get_next_item(it); - if (p_mode == PROCESS_POINTER && r_click_item && itp && !it && p_click_pos.y > p_ofs.y + y + lh) { - //at the end of all, return this - if (r_outside) *r_outside = true; - *r_click_item = itp; - *r_click_char = rchar; - return; - } - if (it && (p_line + 1 < p_frame->lines.size()) && p_frame->lines[p_line + 1].from == it) { if (p_mode == PROCESS_POINTER && r_click_item && p_click_pos.y >= p_ofs.y + y && p_click_pos.y <= p_ofs.y + y + lh) { |