summaryrefslogtreecommitdiffstats
path: root/scene/2d/back_buffer_copy.cpp
diff options
context:
space:
mode:
authorFireForge <67974470+fire-forge@users.noreply.github.com>2022-05-20 00:24:41 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-06-11 09:41:05 -0500
commit4678736a3958392362b805129aad1c41c36896c8 (patch)
tree5989c525a71166a1da7fc960bbc4bd2e0a90550c /scene/2d/back_buffer_copy.cpp
parent126e4d0a5b182a2eea4e49e21344e376acdbba8c (diff)
downloadredot-engine-4678736a3958392362b805129aad1c41c36896c8.tar.gz
Add suffixes to all nodes and resources
Diffstat (limited to 'scene/2d/back_buffer_copy.cpp')
-rw-r--r--scene/2d/back_buffer_copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/back_buffer_copy.cpp b/scene/2d/back_buffer_copy.cpp
index c411aaf411..aa4ae01fd9 100644
--- a/scene/2d/back_buffer_copy.cpp
+++ b/scene/2d/back_buffer_copy.cpp
@@ -85,7 +85,7 @@ void BackBufferCopy::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_copy_mode"), &BackBufferCopy::get_copy_mode);
ADD_PROPERTY(PropertyInfo(Variant::INT, "copy_mode", PROPERTY_HINT_ENUM, "Disabled,Rect,Viewport"), "set_copy_mode", "get_copy_mode");
- ADD_PROPERTY(PropertyInfo(Variant::RECT2, "rect"), "set_rect", "get_rect");
+ ADD_PROPERTY(PropertyInfo(Variant::RECT2, "rect", PROPERTY_HINT_NONE, "suffix:px"), "set_rect", "get_rect");
BIND_ENUM_CONSTANT(COPY_MODE_DISABLED);
BIND_ENUM_CONSTANT(COPY_MODE_RECT);