InputRoll - make visible rows one less, partial rows are annoying

This commit is contained in:
adelikat 2014-09-25 13:01:57 +00:00
parent 117add59fb
commit 9076a5b486
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ namespace BizHawk.Client.EmuHawk
var height = DrawHeight - (NeedsHScrollbar ? HBar.Height : 0);
return (int)height / CellHeight;
return ((int)height / CellHeight) - 1; // adelikat: -1 to compensate for what this math should be doing anyway, TODO: figure out why it doesn't work without it?
}
}