projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd03a27
)
Ruler scale calculation optimization
author
Soeren Apel
<soeren@apelpie.net>
Mon, 24 Aug 2015 19:25:04 +0000
(21:25 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 25 Aug 2015 16:11:16 +0000
(18:11 +0200)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index d32a23da07e3bb30c8553f494636bdda959c6c06..12c277d5434582a5e4b63ada3b85e4324154ff46 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-494,7
+494,7
@@
void View::set_zoom(double scale, int offset)
void View::calculate_tick_spacing()
{
const double SpacingIncrement = 10.0f;
- const double MinValueSpacing =
25
.0f;
+ const double MinValueSpacing =
40
.0f;
// Figure out the highest numeric value visible on a label
const QSize areaSize = viewport_->size();