Improve flavor UI (#19600)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Content.Client.Preferences.UI
|
||||
|
||||
private LineEdit _ageEdit => CAgeEdit;
|
||||
private LineEdit _nameEdit => CNameEdit;
|
||||
private LineEdit _flavorTextEdit = null!;
|
||||
private TextEdit _flavorTextEdit = null!;
|
||||
private Button _nameRandomButton => CNameRandomize;
|
||||
private Button _randomizeEverythingButton => CRandomizeEverything;
|
||||
private RichTextLabel _warningLabel => CWarningLabel;
|
||||
@@ -858,7 +858,7 @@ namespace Content.Client.Preferences.UI
|
||||
{
|
||||
if(_flavorTextEdit != null)
|
||||
{
|
||||
_flavorTextEdit.Text = Profile?.FlavorText ?? "";
|
||||
_flavorTextEdit.TextRope = new Rope.Leaf(Profile?.FlavorText ?? "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user