mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Don't recalculate statustext initial color everytime & review fixes
This commit is contained in:
@@ -92,7 +92,8 @@ namespace gui
|
||||
s32 id = -1,
|
||||
bool fillBackground = false)
|
||||
{
|
||||
return add(guienv, EnrichedString(text), rectangle, border, wordWrap, parent, id, fillBackground);
|
||||
return add(guienv, EnrichedString(text), rectangle, border, wordWrap, parent,
|
||||
id, fillBackground);
|
||||
}
|
||||
|
||||
//! draws the element and its children
|
||||
|
Reference in New Issue
Block a user