From de0b46dec23da226e277638c75d8b65290f9167c Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sun, 9 Nov 2014 10:35:43 +0000 Subject: [PATCH] Header: Fixed mouse over coordinates --- pv/view/header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 2e49776..802f897 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -82,7 +82,7 @@ QSize Header::sizeHint() const shared_ptr Header::get_mouse_over_trace(const QPoint &pt) { - const int w = width(); + const int w = width() - BaselineOffset; const vector< shared_ptr > traces(_view.get_traces()); for (const shared_ptr t : traces) -- 2.30.2