From 6ad174e055b76e5dd68014382c80f7137e8320b9 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Wed, 25 Dec 2013 23:02:28 +0000 Subject: [PATCH] Improved appearance of small annotations --- pv/view/decode/annotation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 30efb51..6a2f74a 100644 --- a/pv/view/decode/annotation.cpp +++ b/pv/view/decode/annotation.cpp @@ -135,7 +135,7 @@ void Annotation::draw_range(QPainter &p, QColor fill, QColor outline, return; } - const double cap_width = min((end - start) / 2, EndCapWidth); + const double cap_width = min((end - start) / 4, EndCapWidth); QPointF pts[] = { QPointF(start, y + .5f), -- 2.30.2