Added logic to ensure playback cursor is visible when follow cursor option toggles from false to true.
This commit is contained in:
parent
b04ddd3fbb
commit
734ec96269
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue