mirror of https://github.com/odrling/Aegisub
Don't scroll to the beginning of the audio when switching to an untimed line
Originally committed to SVN as r6565.
This commit is contained in:
parent
1d4c0c0712
commit
ebe32890fb
|
@ -1245,7 +1245,7 @@ void AudioDisplay::OnSelectionChanged()
|
|||
ScrollBy(rel_x - width + width / 20);
|
||||
}
|
||||
}
|
||||
else if (OPT_GET("Audio/Auto/Scroll")->GetBool())
|
||||
else if (OPT_GET("Audio/Auto/Scroll")->GetBool() && sel.end() != 0)
|
||||
{
|
||||
ScrollTimeRangeInView(sel);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue