From eef5f0354af669ad9d2b3f76cda0ce5ef15c1951 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Thu, 17 Jun 2021 22:14:35 +0200 Subject: [PATCH] Add text to model description if it supports alpha --- Code/Data/ModelCollection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Data/ModelCollection.cs b/Code/Data/ModelCollection.cs index fc3f322..30b726b 100644 --- a/Code/Data/ModelCollection.cs +++ b/Code/Data/ModelCollection.cs @@ -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)" : "")}"; } }