projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e7d82
)
Removed use of LabelMarginWidth
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 7 Dec 2013 23:09:42 +0000
(23:09 +0000)
committer
Bert Vermeulen
<bert@biot.com>
Mon, 9 Dec 2013 16:09:57 +0000
(17:09 +0100)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index f727cc33b540b4fddc18b77f154a08051d3a78d4..3137dd0c6686b4b9a947e7a708ba14868c16d631 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-143,7
+143,7
@@
int View::v_offset() const
void View::zoom(double steps)
{
- zoom(steps,
(width() - LabelMarginWidth
) / 2);
+ zoom(steps,
_viewport->width(
) / 2);
}
void View::zoom(double steps, int offset)