mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 06:56:10 +00:00
Affichage rituel
This commit is contained in:
parent
6b35d38513
commit
9e2af2895a
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ namespace AideDeJeu.ViewModels
|
|||
var fd = FormatedTextHelpers.FontData.FromResource("contentital");
|
||||
var fs = new FormattedString();
|
||||
var capType = Item?.Type?.First().ToString()?.ToUpper() + Item?.Type?.Substring(1);
|
||||
fs.Spans.Add(new Span() { Text = string.Format("{0} de niveau {1}", capType, Item?.Level), FontFamily = fd.FontFamily, FontAttributes = fd.FontAttributes, FontSize = fd.FontSize, ForegroundColor = fd.TextColor});
|
||||
fs.Spans.Add(new Span() { Text = string.Format("{0} de niveau {1} {2}", capType, Item?.Level, Item?.Rituel), FontFamily = fd.FontFamily, FontAttributes = fd.FontAttributes, FontSize = fd.FontSize, ForegroundColor = fd.TextColor});
|
||||
return fs;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue