mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +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
Notes:
sideshowbarker
2024-07-19 15:00:16 +09:00
Author: https://github.com/awesomekling
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