ui: draw in/out semi translucent

Fixes #1957
This commit is contained in:
itsmattkc
2022-06-20 10:26:16 -07:00
parent 7bfe5f563e
commit 52db848918
+3 -1
View File
@@ -331,7 +331,9 @@ void SeekableWidget::DrawTimelinePoints(QPainter* p, int marker_bottom)
workarea_right = qMin(qreal(lim_right), TimeToScene(GetTimelinePoints()->workarea()->out()));
}
p->fillRect(workarea_left, 0, workarea_right - workarea_left, height(), palette().highlight());
QColor translucent_highlight = palette().highlight().color();
translucent_highlight.setAlpha(96);
p->fillRect(workarea_left, 0, workarea_right - workarea_left, height(), translucent_highlight);
}
// Draw markers