|
|
|
@ -29,6 +29,9 @@ namespace Perspex.Media |
|
|
|
TextAlignment textAlignment, |
|
|
|
FontWeight fontWeight) |
|
|
|
{ |
|
|
|
//TODO: Find out why it was null in the first place. Demo project - AvalonStudio
|
|
|
|
//https://github.com/VitalElement/AvalonStudio/commit/787fb9396feb74e6ca6bd4e08436269a349df9c6
|
|
|
|
text = text ?? ""; |
|
|
|
Text = text; |
|
|
|
FontFamilyName = fontFamilyName; |
|
|
|
FontSize = fontSize; |
|
|
|
|