- Switching to a new line in audio mode now centers the line on the grid. (AMZ)
- Commiting changes in audio to the last line will insert a new line after it. (AMZ) Originally committed to SVN as r579.
This commit is contained in:
parent
2f9a086a22
commit
76dbc901f9
2 changed files with 15 additions and 0 deletions
|
@ -1203,6 +1203,18 @@ void AudioDisplay::CommitChanges () {
|
|||
|
||||
// If in SSA mode, select next line and "move timing forward" (unless the user was splitting karaoke)
|
||||
if (Options.AsBool(_T("Audio SSA Mode")) && Options.AsBool(_T("Audio SSA Next Line on Commit")) && !wasKaraSplitting) {
|
||||
// Insert a line if it doesn't exist
|
||||
int nrows = grid->GetRows();
|
||||
if (nrows == line_n + 1) {
|
||||
AssDialogue *def = new AssDialogue;
|
||||
def->Start = grid->GetDialogue(line_n)->End;
|
||||
def->End = grid->GetDialogue(line_n)->End;
|
||||
def->End.SetMS(def->End.GetMS()+5000);
|
||||
def->Style = grid->GetDialogue(line_n)->Style;
|
||||
grid->InsertLine(def,line_n,true);
|
||||
}
|
||||
|
||||
// Go to next
|
||||
dontReadTimes = true;
|
||||
Next();
|
||||
dontReadTimes = false;
|
||||
|
@ -2029,6 +2041,7 @@ void AudioDisplay::ChangeLine(int delta) {
|
|||
dialogue = NULL;
|
||||
grid->editBox->SetToLine(next);
|
||||
grid->SelectRow(next);
|
||||
grid->MakeCellVisible(next,0,true);
|
||||
if (!dialogue) UpdateImage(true);
|
||||
else UpdateImage(false);
|
||||
line_n = next;
|
||||
|
|
|
@ -34,6 +34,8 @@ Please visit http://aegisub.net to download latest version
|
|||
- Style name collisions (when moving from storage, creating or renaming) will now prompt the user before performing the action. (AMZ)
|
||||
- Added global hotkey for Video Play (default Ctrl+P). (AMZ)
|
||||
- Added support to save and load keyframe list files. (AMZ)
|
||||
- Switching to a new line in audio mode now centers the line on the grid. (AMZ)
|
||||
- Commiting changes in audio to the last line will insert a new line after it. (AMZ)
|
||||
|
||||
|
||||
= 1.10 beta - 2006.08.07 ===========================
|
||||
|
|
Loading…
Reference in a new issue