work towards making timeline actions all undoable

This commit is contained in:
itsmattkc
2019-09-23 23:00:15 +10:00
parent d0d4756129
commit 9fa22938b9
31 changed files with 994 additions and 378 deletions
+2 -1
View File
@@ -26,6 +26,7 @@
#include <QtMath>
#include <QVBoxLayout>
#include "common/timecodefunctions.h"
#include "viewersizer.h"
ViewerWidget::ViewerWidget(QWidget *parent) :
@@ -94,7 +95,7 @@ const double &ViewerWidget::scale()
rational ViewerWidget::GetTime()
{
return rational(ruler_->GetTime()) * time_base_;
return olive::timestamp_to_time(ruler_->GetTime(), time_base_);
}
void ViewerWidget::SetScale(const double &scale_)