forked from qt-creator/qt-creator
QmlProfiler: Make sure all binding loop markers are drawn
Binding loop markers aren't ordered in any particular way so we cannot stop drawing them when we find an invisible one. Change-Id: I16dcc96c15febc5cfe0203e23c1ca657714a2c25 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -233,7 +233,7 @@ void TimelineRenderer::drawBindingLoopMarkers(QPainter *p, int modelIndex, int f
|
||||
int shadowoffset = 2;
|
||||
if ((yfrom + radius + shadowoffset < 0 && yto + radius + shadowoffset < 0) ||
|
||||
(yfrom - radius >= height() && yto - radius >= height()))
|
||||
break;
|
||||
continue;
|
||||
|
||||
// shadow
|
||||
p->setPen(shadowPen);
|
||||
|
Reference in New Issue
Block a user