don't automatically create gaps if one already exists that can be resized
Rather than constantly create gaps, we can more intelligently determine whether a gap can be extended to take the place of a block being removed, etc.
This commit is contained in:
@@ -122,7 +122,7 @@ void TimelineViewBlockItem::paint(QPainter *painter, const QStyleOptionGraphicsI
|
||||
case Block::kGap:
|
||||
if (option->state & QStyle::State_Selected) {
|
||||
// FIXME: Make this palette or CSS
|
||||
painter->fillRect(rect(), Qt::white);
|
||||
painter->fillRect(rect(), QColor(255, 255, 255, 128));
|
||||
}
|
||||
break;
|
||||
case Block::kTransition:
|
||||
|
||||
Reference in New Issue
Block a user