瀏覽代碼

Remove Control z-index warning

kobewi 1 年之前
父節點
當前提交
c3d2fab1e5
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      scene/gui/control.cpp

+ 0 - 4
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\"."));
 		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;
 	return warnings;
 }
 }