mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 00:48:30 +00:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user