Fix playhead behaviour on auto-return if follow playhead is not set.
git-svn-id: svn://localhost/ardour2/branches/3.0@7398 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
00cf0733a1
commit
c1dafd7c0e
@ -980,11 +980,14 @@ Editor::map_position_change (nframes64_t frame)
|
|||||||
{
|
{
|
||||||
ENSURE_GUI_THREAD (*this, &Editor::map_position_change, frame)
|
ENSURE_GUI_THREAD (*this, &Editor::map_position_change, frame)
|
||||||
|
|
||||||
if (_session == 0 || !_follow_playhead) {
|
if (_session == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
center_screen (frame);
|
if (_follow_playhead) {
|
||||||
|
center_screen (frame);
|
||||||
|
}
|
||||||
|
|
||||||
playhead_cursor->set_position (frame);
|
playhead_cursor->set_position (frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user