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:
parent
9551e2e4b5
commit
d0559c0e27
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue