tastudio:
- scroll to new marker and new branch - don't kill selection per marker removal
This commit is contained in:
parent
c17f793733
commit
5bff769fe9
|
@ -135,6 +135,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
Movie.AddBranch(branch);
|
Movie.AddBranch(branch);
|
||||||
BranchView.RowCount = Movie.BranchCount;
|
BranchView.RowCount = Movie.BranchCount;
|
||||||
Movie.CurrentBranch = Movie.BranchCount - 1;
|
Movie.CurrentBranch = Movie.BranchCount - 1;
|
||||||
|
BranchView.ScrollToIndex(Movie.CurrentBranch);
|
||||||
BranchView.Refresh();
|
BranchView.Refresh();
|
||||||
Tastudio.RefreshDialog();
|
Tastudio.RefreshDialog();
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,7 +150,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (MarkerView.AnyRowsSelected)
|
if (MarkerView.AnyRowsSelected)
|
||||||
{
|
{
|
||||||
SelectedMarkers.ForEach(i => Markers.Remove(i));
|
SelectedMarkers.ForEach(i => Markers.Remove(i));
|
||||||
MarkerInputRoll.DeselectAll();
|
|
||||||
Tastudio.RefreshDialog();
|
Tastudio.RefreshDialog();
|
||||||
MarkerView_SelectedIndexChanged(null, null);
|
MarkerView_SelectedIndexChanged(null, null);
|
||||||
}
|
}
|
||||||
|
@ -190,6 +189,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
UpdateValues();
|
UpdateValues();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MarkerView.ScrollToIndex(Markers.Count() - 1);
|
||||||
Tastudio.RefreshDialog();
|
Tastudio.RefreshDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue