From c415ce10e3cf49d7119cf17ead2992a9daa879cd Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 27 Nov 2017 12:56:51 +0100 Subject: [PATCH] FIRE-6955: Line numbers in script editor not using correct transparency --- indra/newview/llscripteditor.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/indra/newview/llscripteditor.cpp b/indra/newview/llscripteditor.cpp index 4d82efa06d..0461d3c9e6 100644 --- a/indra/newview/llscripteditor.cpp +++ b/indra/newview/llscripteditor.cpp @@ -88,12 +88,15 @@ void LLScriptEditor::drawLineNumbers() if (mShowLineNumbers) { - S32 left = 0; + //S32 left = 0; // 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 + + // 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 + // S32 last_line_num = -1;