Add some missing verification messages.
[dcpomatic.git] / src / wx / timeline_view.cc
index e8b3856adb45f8e3d22858cda9616e43fa178065..fb23fa7b15a896fe220d068688b91b47cd696ece 100644 (file)
@@ -22,6 +22,7 @@
 #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).
@@ -49,5 +50,5 @@ TimelineView::force_redraw ()
 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);
 }