tastudio - performance related tweaks

This commit is contained in:
adelikat 2014-07-27 15:50:48 +00:00
parent 0397ea1ff4
commit 8db6957e4a
2 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,9 @@ namespace BizHawk.Client.EmuHawk
public void UpdateValues() public void UpdateValues()
{ {
Refresh(); MarkerView.BlazingFast = true;
MarkerView.ItemCount = Tastudio.CurrentMovie.Markers.Count;
MarkerView.BlazingFast = false;
} }
private void MarkerView_QueryItemBkColor(int index, int column, ref Color color) private void MarkerView_QueryItemBkColor(int index, int column, ref Color color)

View File

@ -225,7 +225,9 @@ namespace BizHawk.Client.EmuHawk
public void RefreshDialog() public void RefreshDialog()
{ {
TasView.BlazingFast = true;
TasView.ItemCount = _tas.InputLogLength + 1; TasView.ItemCount = _tas.InputLogLength + 1;
TasView.BlazingFast = false;
if (MarkerControl != null) if (MarkerControl != null)
{ {
MarkerControl.Refresh(); MarkerControl.Refresh();