X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=95b8a5bec9e9f1fde845898ee5ed7a0cf1bfcc58;hb=2c982fc3905ef4d4fa1d87761d3ac14841f01de1;hp=0f9edb3f39719d53a2d991f2a25383e89386e0e6;hpb=528bd8a194362b7e73d53360ec78ec22f06eecc2;p=pulseview.git 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;