From f3f98f8fade1cffb28161da2710dfc9def5e6d74 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 7 Dec 2013 23:09:42 +0000 Subject: [PATCH] Removed use of LabelMarginWidth --- pv/view/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/view/view.cpp b/pv/view/view.cpp index f727cc3..3137dd0 100644 --- 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) -- 2.30.2