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
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ void AudioDisplay::OnSelectionChanged()
|
||||||
ScrollBy(rel_x - width + width / 20);
|
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);
|
ScrollTimeRangeInView(sel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue