InputRoll - properly calculate if a vertical scrollbar is needed

This commit is contained in:
adelikat 2019-10-19 13:01:53 -05:00
parent f96e778c35
commit b5d05e0f0c
1 changed files with 1 additions and 1 deletions

View File

@ -1648,7 +1648,7 @@ namespace BizHawk.Client.EmuHawk
}
else
{
NeedsVScrollbar = RowCount > 1;
NeedsVScrollbar = ColumnHeight + (RowCount * RowHeight) > Height;
NeedsHScrollbar = TotalColWidth.HasValue && TotalColWidth.Value - DrawWidth + 1 > 0;
}