mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Highlight missing parts in the timeline. Fixes #438.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user