Fixed bug with InputRoll selected rows drawing hidden columns.

This commit is contained in:
Kyle Howell 2016-09-25 14:04:57 -06:00
parent d66181a597
commit 4834e31bb8
1 changed files with 5 additions and 4 deletions

View File

@ -459,7 +459,8 @@ namespace BizHawk.Client.EmuHawk
int lastRow = -1;
foreach (Cell cell in SelectedItems)
{
if (cell.RowIndex > _lastVisibleRow || cell.RowIndex < FirstVisibleRow)
if (cell.RowIndex > _lastVisibleRow || cell.RowIndex < FirstVisibleRow ||
!VisibleColumns.Contains(cell.Column))
continue;
Cell relativeCell = new Cell