preliminary track/channel support

This commit is contained in:
itsmattkc
2019-08-16 16:28:32 +10:00
parent 7d9d12ee0b
commit c68e879d47
7 changed files with 35 additions and 5 deletions
@@ -55,7 +55,7 @@ void TimelineViewClipItem::UpdateRect()
double item_left = TimeToScreenCoord(clip_->in());
double item_width = TimeToScreenCoord(clip_->length());
setRect(0, 0, item_width - 1, 100);
setRect(0, 0, item_width - 1, 64);
setPos(item_left, 0.0);
}
@@ -102,7 +102,7 @@ void TimelineViewGhostItem::UpdateRect()
{
rational length = GetAdjustedOut() - GetAdjustedIn();
setRect(0, 0, TimeToScreenCoord(length), 100);
setRect(0, 0, TimeToScreenCoord(length), 64);
setPos(TimeToScreenCoord(GetAdjustedIn()), 0);
}