Quellcode durchsuchen

Fix graph node resizing.

Pāvels Nadtočajevs vor 3 Monaten
Ursprung
Commit
13cf88073b
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      scene/gui/graph_node.cpp

+ 3 - 0
scene/gui/graph_node.cpp

@@ -404,6 +404,7 @@ void GraphNode::_accessibility_action_slot(const Variant &p_data) {
 }
 
 void GraphNode::gui_input(const Ref<InputEvent> &p_event) {
+	ERR_FAIL_COND(p_event.is_null());
 	if (port_pos_dirty) {
 		_port_pos_update();
 	}
@@ -534,6 +535,8 @@ void GraphNode::gui_input(const Ref<InputEvent> &p_event) {
 		queue_accessibility_update();
 		queue_redraw();
 	}
+
+	GraphElement::gui_input(p_event);
 }
 
 void GraphNode::_notification(int p_what) {