projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528bd8a
)
Fixed the H-scroll page width to half a screen rather than a full screen.
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 31 Mar 2013 17:58:41 +0000
(18:58 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 31 Mar 2013 17:58:41 +0000
(18:58 +0100)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 0f9edb3f39719d53a2d991f2a25383e89386e0e6..95b8a5bec9e9f1fde845898ee5ed7a0cf1bfcc58 100644
(file)
--- 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;