InputRoll - properly calculate if a vertical scrollbar is needed
This commit is contained in:
parent
f96e778c35
commit
b5d05e0f0c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue