InputRoll - fix bug where scrollbars are incorrectly calculated before the rowcount changes instead of after
This commit is contained in:
parent
52db5ac848
commit
f66e427ccb
|
@ -245,9 +245,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (_rowCount != value)
|
||||
{
|
||||
RecalculateScrollBars();
|
||||
_rowCount = value;
|
||||
_selectedItems.RemoveWhere(i => i.RowIndex >= _rowCount);
|
||||
RecalculateScrollBars();
|
||||
}
|
||||
|
||||
// Similarly to ListView in virtual mode, we want to always refresh
|
||||
|
|
Loading…
Reference in New Issue