(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:
@@ -20,6 +20,8 @@ namespace Barotrauma
|
||||
public OnButtonDownHandler OnButtonDown;
|
||||
|
||||
public bool CanBeSelected = true;
|
||||
|
||||
private Color? defaultTextColor;
|
||||
|
||||
public override bool Enabled
|
||||
{
|
||||
@@ -30,7 +32,7 @@ namespace Barotrauma
|
||||
|
||||
set
|
||||
{
|
||||
if (value == enabled) return;
|
||||
if (value == enabled) { return; }
|
||||
enabled = value;
|
||||
if (color.A == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user