From 17cbd66aedaa0de0c1955cd1c958b9ee6f110354 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 29 Aug 2023 11:41:29 +0200 Subject: [PATCH] Fix Label to draw text under children --- Source/Engine/UI/GUI/Common/Label.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/Label.cs b/Source/Engine/UI/GUI/Common/Label.cs index 2779dfdea..9aaaeed26 100644 --- a/Source/Engine/UI/GUI/Common/Label.cs +++ b/Source/Engine/UI/GUI/Common/Label.cs @@ -201,9 +201,9 @@ namespace FlaxEngine.GUI } /// - public override void Draw() + public override void DrawSelf() { - base.Draw(); + base.DrawSelf(); var rect = new Rectangle(new Float2(Margin.Left, Margin.Top), Size - Margin.Size);