diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-02-18 15:45:31 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-02-18 15:45:31 -0800 |
commit | ef9b7c5b36c7521c4519e682aa312c4c25c31c2f (patch) | |
tree | 4ccefaed593f8ec9048e92449b487caf511fa338 /indra/newview/skins/default/textures/icons/Generic_Person.png | |
parent | 1d1e4c7abe5c46cfafbc351e8cad3197d2befefc (diff) |
Fix for EXT-5120 "Mouse-up in the scrollbar to the right of a link in nearby chat window opens the link".
Added an optional bool parameter "hit_past_end_of_line" to LLTextBase:: getDocIndexFromLocalCoord() and getSegmentAtLocalPos(). Default is true, which gives the old behavior. If false, clicks past the end-of-line won't map to the last segment on the line.
Made LLNormalTextSegment::handleHover(), handleRightMouseDown(), handleMouseDown(), and handleMouseUp() call getSegmentAtLocalPos() in this new mode before processing URL actions, and only do the processing if it returns the same segment.
Reviewed by Richard.
Diffstat (limited to 'indra/newview/skins/default/textures/icons/Generic_Person.png')
0 files changed, 0 insertions, 0 deletions