widget: use rational for internal playhead value

Fixes #1688
This commit is contained in:
itsmattkc
2021-08-02 10:55:01 -07:00
parent 4510f6d36a
commit 438cce1ce5
38 changed files with 217 additions and 334 deletions
+2 -2
View File
@@ -74,9 +74,9 @@ void TimeBasedPanel::SetTimebase(const rational &timebase)
widget_->SetTimebase(timebase);
}
void TimeBasedPanel::SetTimestamp(const int64_t &timestamp)
void TimeBasedPanel::SetTime(const rational &time)
{
widget_->SetTimestamp(timestamp);
widget_->SetTime(time);
}
void TimeBasedPanel::GoToPrevCut()