From: Soeren Apel Date: Fri, 12 Dec 2014 16:41:08 +0000 (+0100) Subject: View: Fix #513 by scrolling 1/8th the view height per step X-Git-Tag: pulseview-0.3.0~362 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=65c34596346fbf7d25fe2065728b86c207018586 View: Fix #513 by scrolling 1/8th the view height per step --- diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 083d02da..539581ad 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -483,6 +483,7 @@ void View::update_scroll() // Set the vertical scrollbar verticalScrollBar()->setPageStep(areaSize.height()); + verticalScrollBar()->setSingleStep(areaSize.height() / 8); const pair extents = v_extents(); const int extra_scroll_height = (extents.second - extents.first) / 4;