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
@@ -27,7 +27,7 @@
#include "node/keyframe.h"
#include "widget/slider/floatslider.h"
#include "widget/slider/timeslider.h"
#include "widget/slider/rationalslider.h"
namespace olive {
@@ -47,7 +47,7 @@ private:
rational timebase_;
TimeSlider* time_slider_;
RationalSlider* time_slider_;
QComboBox* type_select_;