]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.cpp
Fixed the H-scroll page width to half a screen rather than a full screen.
[pulseview.git] / pv / view / view.cpp
index 0f9edb3f39719d53a2d991f2a25383e89386e0e6..95b8a5bec9e9f1fde845898ee5ed7a0cf1bfcc58 100644 (file)
@@ -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;