mirror of https://github.com/odrling/Aegisub
Fix line order when splitting after current frame
This commit is contained in:
parent
4d048e3c90
commit
e516ab6e32
|
@ -697,8 +697,8 @@ static void duplicate_lines(agi::Context *c, int shift) {
|
||||||
new_diag->Start = c->videoController->TimeAtFrame(cur_frame, agi::vfr::START);
|
new_diag->Start = c->videoController->TimeAtFrame(cur_frame, agi::vfr::START);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
old_diag->Start = c->videoController->TimeAtFrame(cur_frame + 1, agi::vfr::START);
|
old_diag->End = c->videoController->TimeAtFrame(cur_frame, agi::vfr::END);
|
||||||
new_diag->End = c->videoController->TimeAtFrame(cur_frame, agi::vfr::END);
|
new_diag->Start = c->videoController->TimeAtFrame(cur_frame + 1, agi::vfr::START);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @todo also split \t and \move?
|
/// @todo also split \t and \move?
|
||||||
|
|
Loading…
Reference in New Issue