From fb70368c8d94b07d233caa243ae24aee97d78878 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Wed, 17 Mar 2021 20:22:27 +0100 Subject: [PATCH] Fix image ordering. --- Source/Engine/UI/GUI/Common/Image.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/Image.cs b/Source/Engine/UI/GUI/Common/Image.cs index b94b285b6..adeddce6b 100644 --- a/Source/Engine/UI/GUI/Common/Image.cs +++ b/Source/Engine/UI/GUI/Common/Image.cs @@ -80,10 +80,10 @@ namespace FlaxEngine.GUI } /// - public override void Draw() + public override void DrawSelf() { - base.Draw(); - + base.DrawSelf(); + if (Brush == null) return;