Merge pull request #119 from XTigerHyperX/master

smol description error fix
This commit is contained in:
XTigerHyperX 2020-10-10 21:00:15 +01:00 committed by GitHub
commit b6a628f3b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,6 +230,8 @@ namespace FModel.Creator.Texts
_BOTTOM_TEXT_SIZE = 15;
string text = icon.Description;
ETextSide side = ETextSide.Center;
if (text != null)
{
switch ((EIconDesign)Properties.Settings.Default.AssetsIconDesign)
{
case EIconDesign.Mini:
@ -245,6 +247,7 @@ namespace FModel.Creator.Texts
break;
}
}
}
SKPaint descriptionPaint = new SKPaint
{