(bb85ea959) Fixed last item not being visible in grid layout groups if it's the only item on the last row
This commit is contained in:
@@ -425,7 +425,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
if (steerArea.Rect.Contains(PlayerInput.MousePosition))
|
||||
{
|
||||
if (!PlayerInput.KeyDown(InputType.Deselect) && !PlayerInput.KeyHit(InputType.Deselect))
|
||||
if (!PlayerInput.KeyDown(InputType.Select) && !PlayerInput.KeyHit(InputType.Select))
|
||||
{
|
||||
Character.DisableControls = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user