From a6e409b020aaeb0f349274a3d0e767248aa0f87f Mon Sep 17 00:00:00 2001 From: minerjr Date: Sun, 19 Jul 2026 20:58:37 -0300 Subject: [PATCH] Notecard Editor byte counter - Use label color Updated the updateByteCounter to use the color lookup table's LabelTextColor from the text.xml widget. Should follow the correct font color of any skin. --- indra/newview/llpreviewnotecard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp index 995d50d773..caef66abb6 100644 --- a/indra/newview/llpreviewnotecard.cpp +++ b/indra/newview/llpreviewnotecard.cpp @@ -195,7 +195,7 @@ void LLPreviewNotecard::updateByteCounter() if (bytes > (MAX_BYTES * 8 / 10)) return LLColor4::yellow; - return LLColor4::white; + return LLUIColorTable::getInstance()->getColor("LabelTextColor"); // Use the actual default color from the Widget. }; mByteCounter->setColor(getColorForByteCount());