From 46466af41311b7a84942942f576bc0741f1bdbb9 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sun, 7 Jan 2024 01:06:05 -0500
Subject: [PATCH] Fix weird script editor color issue on divider

---
 indra/newview/llscripteditor.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/indra/newview/llscripteditor.cpp b/indra/newview/llscripteditor.cpp
index da08aa87a8b..5e0bc06544a 100644
--- a/indra/newview/llscripteditor.cpp
+++ b/indra/newview/llscripteditor.cpp
@@ -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;
-- 
GitLab