preliminary track/channel support
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user