Fix SV-2054
This commit is contained in:
@@ -3019,7 +3019,7 @@ void LLTextEditor::drawSelectionBackground()
|
|||||||
{
|
{
|
||||||
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
||||||
const LLColor4& color = mReadOnly ? mReadOnlyBgColor : mWriteableBgColor;
|
const LLColor4& color = mReadOnly ? mReadOnlyBgColor : mWriteableBgColor;
|
||||||
F32 alpha = hasFocus() ? 1.f : 0.5f;
|
F32 alpha = hasFocus() ? 1.f : 0.8f;
|
||||||
gGL.color4f( 1.f - color.mV[0], 1.f - color.mV[1], 1.f - color.mV[2], alpha );
|
gGL.color4f( 1.f - color.mV[0], 1.f - color.mV[1], 1.f - color.mV[2], alpha );
|
||||||
S32 margin_offset = mShowLineNumbers ? UI_TEXTEDITOR_LINE_NUMBER_MARGIN : 0;
|
S32 margin_offset = mShowLineNumbers ? UI_TEXTEDITOR_LINE_NUMBER_MARGIN : 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user