work towards shifting functions from timelineview to timelinewidget

This commit is contained in:
itsmattkc
2019-10-11 16:57:12 +11:00
parent 79d1f99fa8
commit e9f5d0d248
34 changed files with 895 additions and 704 deletions
@@ -52,8 +52,8 @@ void TimelineViewBlockItem::UpdateRect()
return;
}
double item_left = TimeToScreenCoord(block_->in());
double item_width = TimeToScreenCoord(block_->length());
double item_left = TimeToScene(block_->in());
double item_width = TimeToScene(block_->length());
// -1 on width and height so we don't overlap any adjacent clips
setRect(0, y_, item_width - 1, height_ - 1);