From c3d2fab1e5a53661072d7707b3c99b4549b33152 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 27 Mar 2024 21:48:54 +0100 Subject: [PATCH] Remove Control z-index warning --- scene/gui/control.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 62bb14459d8..f1a8c2f6ae6 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -241,10 +241,6 @@ PackedStringArray Control::get_configuration_warnings() const { warnings.push_back(RTR("The Hint Tooltip won't be displayed as the control's Mouse Filter is set to \"Ignore\". To solve this, set the Mouse Filter to \"Stop\" or \"Pass\".")); } - if (get_z_index() != 0) { - warnings.push_back(RTR("Changing the Z index of a control only affects the drawing order, not the input event handling order.")); - } - return warnings; }