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.
This commit is contained in:
minerjr
2026-07-19 20:58:37 -03:00
parent cfa0108e4f
commit a6e409b020
+1 -1
View File
@@ -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());