]> sigrok.org Git - pulseview.git/blobdiff - pv/view/decode/annotation.cpp
Improved appearance of small annotations
[pulseview.git] / 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),