From 840225bdb1f38f836342b7042ee049d37a7d7c2f Mon Sep 17 00:00:00 2001 From: Umang Kalra Date: Mon, 15 Nov 2021 10:58:57 +0530 Subject: Making nodes enclosed within comment move with the comment node --- scene/gui/graph_edit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scene/gui/graph_edit.h') 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 valid_left_disconnect_types; Set valid_right_disconnect_types; + HashMap> comment_enclosed_nodes; + void _update_comment_enclosed_nodes_list(GraphNode *p_node, HashMap> &p_comment_enclosed_nodes); + void _set_drag_comment_enclosed_nodes(GraphNode *p_node, HashMap> &p_comment_enclosed_nodes, bool p_drag); + void _set_position_of_comment_enclosed_nodes(GraphNode *p_node, HashMap> &p_comment_enclosed_nodes, Vector2 p_pos); + HBoxContainer *zoom_hb; friend class GraphEditFilter; -- cgit v1.2.3