From 357113160b17c528310ed16f9dffcac212ac4430 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 24 Feb 2018 10:59:51 +0000 Subject: [PATCH] Display the current event as a green blob --- qrenderdoc/Windows/TimelineBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/TimelineBar.cpp b/qrenderdoc/Windows/TimelineBar.cpp index 498a2eb53..b0db96f9e 100644 --- a/qrenderdoc/Windows/TimelineBar.cpp +++ b/qrenderdoc/Windows/TimelineBar.cpp @@ -957,7 +957,7 @@ void TimelineBar::paintMarkers(QPainter &p, const QVector &markers, path.addRoundedRect(r, 5, 5); p.setPen(QPen(palette().brush(QPalette::Text), 1.0)); - p.fillPath(path, Qt::blue); + p.fillPath(path, d == m_Ctx.CurEvent() ? Qt::green : Qt::blue); p.drawPath(path); }