mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add newline before itemstring in item tooltip (#8213)
This commit is contained in:
parent
d50feb89de
commit
9f1b98b997
1 changed files with 1 additions and 1 deletions
|
@ -2425,7 +2425,7 @@ void GUIFormSpecMenu::drawList(const ListDrawSpec &s, int layer,
|
||||||
if (tooltip_text.empty())
|
if (tooltip_text.empty())
|
||||||
tooltip_text = utf8_to_wide(item.name);
|
tooltip_text = utf8_to_wide(item.name);
|
||||||
else if (m_tooltip_append_itemname)
|
else if (m_tooltip_append_itemname)
|
||||||
tooltip_text += utf8_to_wide(" [" + item.name + "]");
|
tooltip_text += utf8_to_wide("\n[" + item.name + "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!tooltip_text.empty()) {
|
if (!tooltip_text.empty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue