]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.cpp
Added Cursors Delta display
[pulseview.git] / pv / view / cursor.cpp
index 809a0501b20da1a4be759451fb0d51b717a4dff6..b55d11e016c3b96123b4eb287f44534c51c99034 100644 (file)
@@ -60,7 +60,7 @@ QRectF Cursor::get_label_rect(const QRect &rect) const
                _text_size.height() + View::LabelPadding.height() * 2);
        const float top = rect.height() - label_size.height() -
                Cursor::Offset - Cursor::ArrowSize - 0.5f;
-       const float height = label_size.height() + 1;
+       const float height = label_size.height();
 
        if (_time > _other.time())
                return QRectF(x, top, label_size.width(), height);