1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

IRCClient: Scroll windows to bottom when new messages arrive.

This will need some tweaking to feel truly good, but this is already
better than just staying at the top while messages come in.
This commit is contained in:
Andreas Kling 2019-03-19 03:09:51 +01:00
parent 9551e2e4b5
commit d0559c0e27

View file

@ -72,7 +72,9 @@ void IRCWindow::did_add_message()
if (!is_active()) {
++m_unread_count;
m_client.aid_update_window_list();
return;
}
m_table_view->scroll_to_bottom();
}
void IRCWindow::clear_unread_count()