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.
master
minerjr 2026-07-19 20:58:37 -03:00
parent cfa0108e4f
commit a6e409b020
1 changed files with 1 additions and 1 deletions

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());