mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Have the "make adjacent" threshold in TPP have the end of the range be inclusive
Originally committed to SVN as r5912.
This commit is contained in:
parent
56e6f7d5b2
commit
0c5cb8e490
@ -420,7 +420,7 @@ void DialogTimingProcessor::Process() {
|
||||
int curStart = cur->Start.GetMS();
|
||||
int prevEnd = prev->End.GetMS();
|
||||
int dist = curStart-prevEnd;
|
||||
if (dist > 0 && dist < adjsThres) {
|
||||
if (dist > 0 && dist <= adjsThres) {
|
||||
int setPos = prevEnd+int(dist*bias);
|
||||
cur->Start.SetMS(setPos);
|
||||
prev->End.SetMS(setPos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user