Skip to content

Commit

Permalink
Merge pull request godotengine#11301 from volzhs/fix-richtextlabel
Browse files Browse the repository at this point in the history
Make clickable properly in editor help
  • Loading branch information
akien-mga authored Sep 17, 2017
2 parents c74bab6 + 8d1792a commit 317512e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scene/gui/rich_text_label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 317512e

Please sign in to comment.