Mark SetColors() virtual to override it in IconButton

This commit is contained in:
Menotdan
2023-05-08 12:51:34 -04:00
parent 74af2e53a8
commit 86d0ccb210

View File

@@ -195,7 +195,7 @@ namespace FlaxEngine.GUI
/// Sets the button colors palette based on a given main color.
/// </summary>
/// <param name="color">The main color.</param>
public void SetColors(Color color)
public virtual void SetColors(Color color)
{
BackgroundColor = color;
BorderColor = color.RGBMultiplied(0.5f);