Highlight missing parts in the timeline. Fixes #438.

This commit is contained in:
Leonardo Zide
2021-04-17 10:50:38 -07:00
parent 48c6fad09e
commit 1a64a7876d
+5 -1
View File
@@ -209,8 +209,12 @@ void lcTimelineWidget::Update(bool Clear, bool UpdateItems)
PieceItem->setIcon(0, mIcons[ColorIndex]);
QColor Color = palette().text().color();
if (Piece->IsHidden())
if (Piece->mPieceInfo->IsPlaceholder())
Color = QColor(208, 0, 0);
else if (Piece->IsHidden())
Color.setAlpha(128);
PieceItem->setForeground(0, Color);
}