From: Joel Holdsworth Date: Wed, 25 Dec 2013 23:02:28 +0000 (+0000) Subject: Improved appearance of small annotations X-Git-Tag: pulseview-0.2.0~183 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6ad174e055b76e5dd68014382c80f7137e8320b9;p=pulseview.git Improved appearance of small annotations --- diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 30efb517..6a2f74a6 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),