InputRoll - don't allow resizing columns to a negative width

This commit is contained in:
adelikat 2019-12-02 19:58:32 -06:00
parent f1d688f7bb
commit 3010cf3a3d
1 changed files with 5 additions and 0 deletions

View File

@ -975,6 +975,11 @@ namespace BizHawk.Client.EmuHawk
if (_currentX != _previousX)
{
_columnResizing.Width += _currentX - _previousX;
if (_columnResizing.Width <= 0)
{
_columnResizing.Width = 1;
}
_columns.ColumnsChanged();
Refresh();
}