projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a7cce
)
View: Fix #513 by scrolling 1/8th the view height per step
author
Soeren Apel
<soeren@apelpie.net>
Fri, 12 Dec 2014 16:41:08 +0000
(17:41 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 13 Dec 2014 10:17:25 +0000
(10:17 +0000)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 083d02dad9c6fa6043ae3c906363165a2c8294c0..539581ad1ce95bd934c5f030639455c235ce7e8d 100644
(file)
--- 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<int, int> extents = v_extents();
const int extra_scroll_height = (extents.second - extents.first) / 4;