summaryrefslogtreecommitdiff
path: root/Libraries/LibVT
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-07-09 08:55:46 -0600
committerAndreas Kling <kling@serenityos.org>2020-07-09 21:56:45 +0200
commitdf54229954625cb489305782f052221ab7683a65 (patch)
tree7847dd3933615575edaf3221f1761a2521bda3fe /Libraries/LibVT
parentfc568ea13a86b59b5a0c011fb4c74d1fefe563b5 (diff)
downloadserenity-df54229954625cb489305782f052221ab7683a65.zip
LibVT: Set scrollbar page size
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r--Libraries/LibVT/TerminalWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp
index 79e1ad67b1..4e37136bc2 100644
--- a/Libraries/LibVT/TerminalWidget.cpp
+++ b/Libraries/LibVT/TerminalWidget.cpp
@@ -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