mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibVT: Set scrollbar page size
This commit is contained in:
parent
fc568ea13a
commit
df54229954
Notes:
sideshowbarker
2024-07-19 05:00:22 +09:00
Author: https://github.com/tomuta Commit: https://github.com/SerenityOS/serenity/commit/df542299546 Pull-request: https://github.com/SerenityOS/serenity/pull/2749
1 changed files with 1 additions and 0 deletions
|
@ -432,6 +432,7 @@ void TerminalWidget::relayout(const Gfx::IntSize& size)
|
|||
size.height() - frame_thickness() * 2,
|
||||
};
|
||||
m_scrollbar->set_relative_rect(scrollbar_rect);
|
||||
m_scrollbar->set_page(new_rows);
|
||||
}
|
||||
|
||||
Gfx::IntSize TerminalWidget::compute_base_size() const
|
||||
|
|
Loading…
Add table
Reference in a new issue