summaryrefslogtreecommitdiffstats
path: root/scene/gui/graph_node.h
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-22 16:24:29 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-23 06:25:56 +0000
commit4b8b8039316493ee3fa77c6bb93f95e109fa68a6 (patch)
tree5b13e0f4216218ccebb1e2584bae32b5bd2d6714 /scene/gui/graph_node.h
parent30d469a5e0f70860f3c4ce4508d6564ca389320b (diff)
downloadredot-engine-4b8b8039316493ee3fa77c6bb93f95e109fa68a6.tar.gz
Rename Control margin to offset
Diffstat (limited to 'scene/gui/graph_node.h')
-rw-r--r--scene/gui/graph_node.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/graph_node.h b/scene/gui/graph_node.h
index 3cd7ae6e24..08ae0d465d 100644
--- a/scene/gui/graph_node.h
+++ b/scene/gui/graph_node.h
@@ -73,7 +73,7 @@ private:
TextDirection text_direction = TEXT_DIRECTION_AUTO;
bool show_close;
- Vector2 offset;
+ Vector2 position_offset;
bool comment;
bool resizable;
@@ -142,8 +142,8 @@ public:
void set_language(const String &p_language);
String get_language() const;
- void set_offset(const Vector2 &p_offset);
- Vector2 get_offset() const;
+ void set_position_offset(const Vector2 &p_offset);
+ Vector2 get_position_offset() const;
void set_selected(bool p_selected);
bool is_selected();