summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2018-02-19 14:31:48 +0700
committerGitHub <noreply@github.com>2018-02-19 14:31:48 +0700
commit6db60c03a9942ba766f52f6a4ae5f157e2edbd42 (patch)
treefaf298558c3236be64f8ce4dc66c9fb04cf8da7d
parent95f7879923783c3cbfc0a42cfd11e2b9d8260b46 (diff)
parentcc902cf9ab34ef06084fb23831c2fecbafb90784 (diff)
Merge pull request #16810 from isaacremnant/clip_content
Force controls to save rect_clip_content
-rw-r--r--scene/gui/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index 01415594d3..d8571a7767 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -2847,7 +2847,7 @@ void Control::_bind_methods() {
ADD_PROPERTYNZ(PropertyInfo(Variant::REAL, "rect_rotation", PROPERTY_HINT_RANGE, "-1080,1080,0.01"), "set_rotation_degrees", "get_rotation_degrees");
ADD_PROPERTYNO(PropertyInfo(Variant::VECTOR2, "rect_scale"), "set_scale", "get_scale");
ADD_PROPERTYNO(PropertyInfo(Variant::VECTOR2, "rect_pivot_offset"), "set_pivot_offset", "get_pivot_offset");
- ADD_PROPERTYNZ(PropertyInfo(Variant::BOOL, "rect_clip_content"), "set_clip_contents", "is_clipping_contents");
+ ADD_PROPERTY(PropertyInfo(Variant::BOOL, "rect_clip_content"), "set_clip_contents", "is_clipping_contents");
ADD_GROUP("Hint", "hint_");
ADD_PROPERTYNZ(PropertyInfo(Variant::STRING, "hint_tooltip", PROPERTY_HINT_MULTILINE_TEXT), "set_tooltip", "_get_tooltip");