base pointer movement in timeline

This commit is contained in:
itsmattkc
2019-08-21 15:10:55 +10:00
parent 78d96ecd28
commit f03cc8fe07
14 changed files with 166 additions and 62 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ void TimeRuler::SetScroll(int s)
void TimeRuler::paintEvent(QPaintEvent *)
{
// Nothing to paint if the timebase is invalid
if (timebase_.denominator() == 0) {
if (timebase_.isNull()) {
return;
}