Fix multiline messages being cut off (#8471)

I'm not fixing this properly
This commit is contained in:
buthed010203
2023-04-03 15:37:09 -04:00
committed by GitHub
parent f55363a932
commit 2075a226e1

View File

@@ -73,7 +73,7 @@ public class ConsoleFragment extends Table{
} }
} }
scrollPos = (int)Mathf.clamp(scrollPos + input.axis(Binding.chat_scroll), 0, Math.max(0, messages.size - messagesShown)); scrollPos = (int)Mathf.clamp(scrollPos + input.axis(Binding.chat_scroll), 0, Math.max(0, messages.size));
}); });
history.insert(0, ""); history.insert(0, "");