Add text to model description if it supports alpha

This commit is contained in:
N00MKRAD
2021-06-17 22:14:35 +02:00
parent 9740245403
commit eef5f0354a

View File

@@ -31,12 +31,12 @@ namespace Flowframes.Data
public string GetUiString()
{
return $"{name} - {desc}{(isDefault ? " (Recommended)" : "")}";
return $"{name} - {desc}{(supportsAlpha ? " (Supports Transparency)" : "")}{(isDefault ? " (Recommended)" : "")}";
}
public override string ToString()
{
return $"{name} - {desc} ({dir}){(isDefault ? " (Recommended)" : "")}";
return $"{name} - {desc} ({dir}){(supportsAlpha ? " (Supports Transparency)" : "")}{(isDefault ? " (Recommended)" : "")}";
}
}