Reduce font size for extra tag in input config.

This commit is contained in:
2023-02-21 22:43:38 +08:00
parent 39db8dfa45
commit 07f62c7aeb

View File

@@ -93,10 +93,10 @@ namespace Cryville.Crtr.Config {
var tsrc = src.Value; var tsrc = src.Value;
bool flag = false; bool flag = false;
if (proxy.IsUsed(tsrc)) { if (proxy.IsUsed(tsrc)) {
text.text += " (Used)"; text.text += " <size=9>(Used)</size>";
} }
else if (tsrc.Handler.GetDimension(src.Value.Type) < m_configScene.ruleset.Root.inputs[_sel].dim) { else if (tsrc.Handler.GetDimension(src.Value.Type) < m_configScene.ruleset.Root.inputs[_sel].dim) {
text.text += " (Not Applicable)"; text.text += " <size=9>(Not Applicable)</size>";
} }
else flag = true; else flag = true;
btn.interactable = flag; btn.interactable = flag;