playhead item covers entire scene

This commit is contained in:
itsmattkc
2019-08-19 13:33:34 +10:00
parent 9ccf2610c8
commit 44f7c0ab40
4 changed files with 16 additions and 2 deletions
@@ -51,7 +51,7 @@ void TimelineViewPlayheadItem::UpdateRect()
double x = TimeToScreenCoord(rational(playhead_ * timebase_.numerator(), timebase_.denominator()));
double width = TimeToScreenCoord(timebase_);
setRect(0, 0, width, scene()->height());
setRect(0, 0, width, scene()->height()-1);
setPos(x, 0);
}