"Suicide button" is also usable in single player, unconscious characters can't be selected in sp, fixed resizing textblocks with wrapped text
This commit is contained in:
@@ -159,7 +159,7 @@ namespace Barotrauma
|
||||
|
||||
if (rect.Height == 0 && !string.IsNullOrWhiteSpace(Text))
|
||||
{
|
||||
this.rect.Height = (int)Font.MeasureString(Text).Y;
|
||||
this.rect.Height = (int)Font.MeasureString(wrappedText).Y;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user