]> sigrok.org Git - pulseview.git/commitdiff
Improved appearance of small annotations
authorJoel Holdsworth <redacted>
Wed, 25 Dec 2013 23:02:28 +0000 (23:02 +0000)
committerJoel Holdsworth <redacted>
Fri, 27 Dec 2013 15:19:08 +0000 (15:19 +0000)
pv/view/decode/annotation.cpp

index 30efb5179dbaea65ee06d8a5bc2de5dadff8d4fe..6a2f74a6bb2c23bdc7241890c025670f0bc1f81b 100644 (file)
@@ -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),