Merge branch 'Tryibion-obj-ref-color'

This commit is contained in:
Wojtek Figat
2024-08-15 13:04:41 +02:00

View File

@@ -208,7 +208,7 @@ namespace FlaxEditor.CustomEditors.Editors
else else
{ {
// Draw info // Draw info
Render2D.DrawText(style.FontMedium, Type != null ? $"None ({Utilities.Utils.GetPropertyNameUI(Type.ToString())})" : "-", nameRect, isEnabled ? Color.OrangeRed : Color.DarkOrange, TextAlignment.Near, TextAlignment.Center); Render2D.DrawText(style.FontMedium, Type != null ? $"None ({Utilities.Utils.GetPropertyNameUI(Type.ToString())})" : "-", nameRect, isEnabled ? style.ForegroundGrey : style.ForegroundGrey.AlphaMultiplied(0.75f), TextAlignment.Near, TextAlignment.Center);
} }
// Draw picker button // Draw picker button