#include "timeline.h"
using std::list;
+using namespace dcpomatic;
/** @class TimelineView
* @brief Parent class for components of the timeline (e.g. a piece of content or an axis).
int
TimelineView::time_x (DCPTime t) const
{
- return _timeline.tracks_position().x + t.seconds() * _timeline.pixels_per_second().get_value_or (0);
+ return t.seconds() * _timeline.pixels_per_second().get_value_or (0);
}