mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Old chat wrapping for old chat mode
This commit is contained in:
parent
fdf265bc4f
commit
f20965257f
|
@ -1039,7 +1039,7 @@ void CChat::OnPrepareLines()
|
|||
|
||||
CTextCursor AppendCursor = Cursor;
|
||||
|
||||
if(!IsScoreBoardOpen)
|
||||
if(!IsScoreBoardOpen && !g_Config.m_ClChatOld)
|
||||
{
|
||||
AppendCursor.m_StartX = Cursor.m_X;
|
||||
AppendCursor.m_LineWidth -= (Cursor.m_LongestLineWidth - Cursor.m_StartX);
|
||||
|
@ -1151,7 +1151,7 @@ void CChat::OnPrepareLines()
|
|||
TextRender()->TextColor(Color);
|
||||
|
||||
CTextCursor AppendCursor = Cursor;
|
||||
if(!IsScoreBoardOpen)
|
||||
if(!IsScoreBoardOpen && !g_Config.m_ClChatOld)
|
||||
{
|
||||
AppendCursor.m_LineWidth -= (Cursor.m_LongestLineWidth - Cursor.m_StartX);
|
||||
AppendCursor.m_StartX = Cursor.m_X;
|
||||
|
|
Loading…
Reference in a new issue