Skip to content
Snippets Groups Projects
Commit 46466af4 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix weird script editor color issue on divider

parent c4a50cec
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -93,11 +93,6 @@ void LLScriptEditor::drawLineNumbers()
S32 bottom = 0;
F32 alpha = getCurrentTransparency();
LLColor4 bg_color = mReadOnly ? mReadOnlyBgColor.get()
: hasFocus() ? mFocusBgColor.get()
: mWriteableBgColor.get();
gl_rect_2d(left, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN, bottom, bg_color % alpha, FALSE ); // line number area always read-only
gl_rect_2d(UI_TEXTEDITOR_LINE_NUMBER_MARGIN, top, UI_TEXTEDITOR_LINE_NUMBER_MARGIN-1, bottom, LLColor4::grey3 % alpha); // separator
S32 last_line_num = -1;
......
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