Fix broken Chat Formatting behavior (#1520)
- Remove shadowcolor from font tags (Iggy doesn't support multiple) - Enforce HTML text mode on chat labels and jukebox - Move IDS translatable pattern matching into FormatChatMessage - Add §r (reset) color code support - Fix message truncation to count visible characters, skipping HTML tags - Fix CJK truncation using raw index instead of visible char count
This commit is contained in:
@@ -257,8 +257,10 @@ void UIScene_HUD::handleReload()
|
||||
for(unsigned int i = 0; i < CHAT_LINES_COUNT; ++i)
|
||||
{
|
||||
m_labelChatText[i].init(L"");
|
||||
IggyValueSetBooleanRS(m_labelChatText[i].getIggyValuePath(), 0, "m_bUseHtmlText", true);
|
||||
}
|
||||
m_labelJukebox.init(L"");
|
||||
IggyValueSetBooleanRS(m_labelJukebox.getIggyValuePath(), 0, "m_bUseHtmlText", true);
|
||||
|
||||
int iGuiScale;
|
||||
Minecraft *pMinecraft = Minecraft::GetInstance();
|
||||
|
||||
Reference in New Issue
Block a user