From b4ef7f2aaa12450d4e8e6b1efce5e9755d579685 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sun, 31 Mar 2013 18:58:41 +0100 Subject: [PATCH] Fixed the H-scroll page width to half a screen rather than a full screen. --- pv/view/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 0f9edb3f..95b8a5be 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -209,7 +209,7 @@ void View::update_scroll() get_scroll_layout(length, offset); length = max(length - areaSize.width(), 0.0); - horizontalScrollBar()->setPageStep(areaSize.width()); + horizontalScrollBar()->setPageStep(areaSize.width() / 2); _updating_scroll = true; -- 2.30.2