Remove clips_input() method and use clip_content
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user