From: Joel Holdsworth Date: Sun, 9 Nov 2014 10:35:43 +0000 (+0000) Subject: Header: Fixed mouse over coordinates X-Git-Tag: pulseview-0.3.0~491 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=de0b46dec23da226e277638c75d8b65290f9167c Header: Fixed mouse over coordinates --- diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 2e497761..802f897a 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)