[Summary] Fixed issue with shifted playhead polygon when new session is created

This commit is contained in:
GZharun 2014-09-15 14:28:13 +03:00
parent 101fec83a5
commit 9b725bfa56

View file

@ -48,6 +48,8 @@ EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,Ardour
_track_canvas_item->Event.connect (sigc::bind (sigc::mem_fun (ed, callbck), _track_canvas_item));
_track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
_track_canvas_item->set_x (0);
_current_frame = 1; /* force redraw at 0 */
}
@ -64,6 +66,8 @@ EditorCursor::EditorCursor (Editor& ed)
_track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
_track_canvas_item->set_ignore_events (true);
_track_canvas_item->set_x (0);
_current_frame = 1; /* force redraw at 0 */
}