From 452e10ba7bd9a86bb911c49e810eda4aadf4b90c Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 25 Jun 2021 15:46:37 +0200 Subject: Remove clips_input() method and use clip_content --- scene/gui/control.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'scene/gui/control.cpp') diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 64a3f1ca77..a8060615d4 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -650,13 +650,6 @@ void Control::_notification(int p_notification) { } } -bool Control::clips_input() const { - if (get_script_instance()) { - return get_script_instance()->call(SceneStringNames::get_singleton()->_clips_input); - } - return false; -} - bool Control::has_point(const Point2 &p_point) const { if (get_script_instance()) { Variant v = p_point; @@ -2784,7 +2777,6 @@ void Control::_bind_methods() { BIND_VMETHOD(MethodInfo( PropertyInfo(Variant::OBJECT, "control", PROPERTY_HINT_RESOURCE_TYPE, "Control"), "_make_custom_tooltip", PropertyInfo(Variant::STRING, "for_text"))); - BIND_VMETHOD(MethodInfo(Variant::BOOL, "_clips_input")); ADD_GROUP("Anchor", "anchor_"); ADD_PROPERTYI(PropertyInfo(Variant::FLOAT, "anchor_left", PROPERTY_HINT_RANGE, "0,1,0.001,or_lesser,or_greater"), "_set_anchor", "get_anchor", SIDE_LEFT); -- cgit v1.2.3