From db7f49183357c282e267c0743411505eb61f1c6f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 8 Aug 2017 10:57:33 -0300 Subject: Fixes node selection, and properly ignore mouse on inner comment node body, closes #6298 --- scene/gui/graph_node.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/gui/graph_node.h') diff --git a/scene/gui/graph_node.h b/scene/gui/graph_node.h index 056b699aa6..a7d9e8ddb0 100644 --- a/scene/gui/graph_node.h +++ b/scene/gui/graph_node.h @@ -99,8 +99,6 @@ private: Overlay overlay; - bool has_point(const Point2 &p_point) const; - protected: void _gui_input(const Ref &p_ev); void _notification(int p_what); @@ -111,6 +109,8 @@ protected: void _get_property_list(List *p_list) const; public: + bool has_point(const Point2 &p_point) const; + void set_slot(int p_idx, bool p_enable_left, int p_type_left, const Color &p_color_left, bool p_enable_right, int p_type_right, const Color &p_color_right, const Ref &p_custom_left = Ref(), const Ref &p_custom_right = Ref()); void clear_slot(int p_idx); void clear_all_slots(); -- cgit v1.2.3