remove left aligns for text (default now)

This commit is contained in:
2025-11-21 13:34:28 -05:00
parent 6eac4f4576
commit 8eda92f5f5
3 changed files with 7 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ impl Client {
}
ServerMsg::LoadMsgs(msgs) => {
if let Some(msg_area) = &self.channel {
for msg in msgs {
for msg in msgs.into_iter().take(10) {
let msg = msg_widget(msg).add(&mut self.ui);
self.ui[msg_area].children.push(msg.any());
}