Added logic to ensure playback cursor is visible when follow cursor option toggles from false to true.

This commit is contained in:
mjbudd77 2022-01-03 21:48:04 -05:00
parent b04ddd3fbb
commit 734ec96269
1 changed files with 5 additions and 0 deletions

View File

@ -3015,6 +3015,11 @@ void TasEditorWindow::playbackFrameForwardFull(void)
void TasEditorWindow::playbackFollowCursorCb(bool val)
{
taseditorConfig.followPlaybackCursor = val;
if ( val )
{
pianoRoll->ensureTheLineIsVisible( currFrameCounter );
}
}
// ----------------------------------------------------------------------------------------------
void TasEditorWindow::playbackTurboSeekCb(bool val)