diff options
Diffstat (limited to 'src/wx/content_timeline.h')
| -rw-r--r-- | src/wx/content_timeline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/content_timeline.h b/src/wx/content_timeline.h index 5e8c658db..48dd986cc 100644 --- a/src/wx/content_timeline.h +++ b/src/wx/content_timeline.h @@ -111,6 +111,7 @@ private: void zoom_all(); void update_playhead(); void mouse_wheel_turned(wxMouseEvent& event); + int playhead_position() const; std::shared_ptr<ContentTimelineView> event_to_view(wxMouseEvent &); TimelineContentViewList selected_views() const; @@ -144,6 +145,7 @@ private: wxTimer _timer; boost::optional<int> _last_mouse_wheel_x; boost::optional<double> _last_mouse_wheel_time; + boost::optional<int> _last_drawn_playhead; static int const _minimum_pixels_per_track; |
