mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix item tooltip background color not working
This commit is contained in:
@@ -3718,6 +3718,7 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text,
|
||||
{
|
||||
EnrichedString ntext(text);
|
||||
ntext.setDefaultColor(color);
|
||||
if (!ntext.hasBackground())
|
||||
ntext.setBackground(bgcolor);
|
||||
|
||||
setStaticText(m_tooltip_element, ntext);
|
||||
|
Reference in New Issue
Block a user