1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 09:17:35 +00:00

LibVT: Set scrollbar page size

This commit is contained in:
Tom 2020-07-09 08:55:46 -06:00 committed by Andreas Kling
parent fc568ea13a
commit df54229954

View file

@ -432,6 +432,7 @@ void TerminalWidget::relayout(const Gfx::IntSize& size)
size.height() - frame_thickness() * 2, size.height() - frame_thickness() * 2,
}; };
m_scrollbar->set_relative_rect(scrollbar_rect); m_scrollbar->set_relative_rect(scrollbar_rect);
m_scrollbar->set_page(new_rows);
} }
Gfx::IntSize TerminalWidget::compute_base_size() const Gfx::IntSize TerminalWidget::compute_base_size() const