diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-15 15:50:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 15:50:39 +0100 |
commit | 9c4c72485397096e02ea0f582d6c8b05b1030bfb (patch) | |
tree | 5d87c4a9c7bd00e109eca5f97b4f14ee584a4788 /scene/gui/graph_edit.h | |
parent | 0121ce97df0331235a0517e4deeab66c2289637e (diff) | |
parent | 840225bdb1f38f836342b7042ee049d37a7d7c2f (diff) |
Merge pull request #54970 from theoway/moving_nodes_under_comment_node
Diffstat (limited to 'scene/gui/graph_edit.h')
-rw-r--r-- | scene/gui/graph_edit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index 44e50aa3c2..6c11f9df6a 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -217,6 +217,11 @@ private: Set<int> valid_left_disconnect_types; Set<int> valid_right_disconnect_types; + HashMap<StringName, Vector<GraphNode *>> comment_enclosed_nodes; + void _update_comment_enclosed_nodes_list(GraphNode *p_node, HashMap<StringName, Vector<GraphNode *>> &p_comment_enclosed_nodes); + void _set_drag_comment_enclosed_nodes(GraphNode *p_node, HashMap<StringName, Vector<GraphNode *>> &p_comment_enclosed_nodes, bool p_drag); + void _set_position_of_comment_enclosed_nodes(GraphNode *p_node, HashMap<StringName, Vector<GraphNode *>> &p_comment_enclosed_nodes, Vector2 p_pos); + HBoxContainer *zoom_hb; friend class GraphEditFilter; |