Skip to content
Snippets Groups Projects
Commit 8199cc99 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

STORM-276 FIXED Right-to-left line editor selection becomes invisible if the cursor moves

parent 34e7226a
No related branches found
No related tags found
No related merge requests found
......@@ -1805,14 +1805,14 @@ void LLLineEditor::draw()
{
S32 select_left;
S32 select_right;
if( mSelectionStart < getCursor() )
if (mSelectionStart < mSelectionEnd)
{
select_left = mSelectionStart;
select_right = getCursor();
select_right = mSelectionEnd;
}
else
{
select_left = getCursor();
select_left = mSelectionEnd;
select_right = mSelectionStart;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment