]> sigrok.org Git - pulseview.git/commitdiff
Fixed the H-scroll page width to half a screen rather than a full screen.
authorJoel Holdsworth <redacted>
Sun, 31 Mar 2013 17:58:41 +0000 (18:58 +0100)
committerJoel Holdsworth <redacted>
Sun, 31 Mar 2013 17:58:41 +0000 (18:58 +0100)
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;