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
parent
cfa0108e4f
commit
a6e409b020
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue