mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
[Summary] Fixed issue with shifted playhead polygon when new session is created
This commit is contained in:
parent
101fec83a5
commit
9b725bfa56
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue