InputRoll: Bugfix with my new code.

This commit is contained in:
Suuper 2015-07-30 13:07:48 -05:00
parent 78f4084411
commit e78b39208b
1 changed files with 2 additions and 2 deletions

View File

@ -1362,7 +1362,7 @@ namespace BizHawk.Client.EmuHawk
private void DoSelectionBG(PaintEventArgs e)
{
// SuuperW: This allows user to see other colors in selected frames.
Color rowColor = new Color();
Color rowColor = Color.White;
int lastRow = -1;
foreach (Cell cell in SelectedItems)
{
@ -1376,7 +1376,7 @@ namespace BizHawk.Client.EmuHawk
};
relativeCell.RowIndex -= CountLagFramesAbsolute(relativeCell.RowIndex.Value);
if (lastRow != cell.RowIndex.Value)
if (QueryRowBkColor != null && lastRow != cell.RowIndex.Value)
{
QueryRowBkColor(cell.RowIndex.Value, ref rowColor);
lastRow = cell.RowIndex.Value;