FIRE-6955: Line numbers in script editor not using correct transparency
parent
31aeaa8249
commit
c415ce10e3
|
|
@ -88,12 +88,15 @@ void LLScriptEditor::drawLineNumbers()
|
|||
|
||||
if (mShowLineNumbers)
|
||||
{
|
||||
S32 left = 0;
|
||||
//S32 left = 0; // <FS:Ansariel> FIRE-6955: Line numbers not using correct transparency
|
||||
S32 top = getRect().getHeight();
|
||||
S32 bottom = 0;
|
||||
|
||||
gl_rect_2d(left, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN, bottom, mReadOnlyBgColor.get() ); // line number area always read-only
|
||||
gl_rect_2d(UI_TEXTEDITOR_LINE_NUMBER_MARGIN, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN-1, bottom, LLColor4::grey3); // separator
|
||||
|
||||
// <FS:Ansariel> FIRE-6955: Line numbers not using correct transparency
|
||||
//gl_rect_2d(left, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN, bottom, mReadOnlyBgColor.get() ); // line number area always read-only
|
||||
//gl_rect_2d(UI_TEXTEDITOR_LINE_NUMBER_MARGIN, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN-1, bottom, LLColor4::grey3); // separator
|
||||
gl_rect_2d(UI_TEXTEDITOR_LINE_NUMBER_MARGIN, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN-1, bottom, LLColor4::grey3 % getCurrentTransparency()); // separator
|
||||
// </FS:Ansariel>
|
||||
|
||||
S32 last_line_num = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue