You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix FOCUS_ACCESSIBILITY grabbing focus when it is not supposed to, forward GraphNode key input to GraphEdit.
This commit is contained in:
@@ -173,6 +173,11 @@ void GraphElement::gui_input(const Ref<InputEvent> &p_ev) {
|
||||
|
||||
emit_signal(SNAME("resize_request"), resizing_from_size + diff);
|
||||
}
|
||||
|
||||
GraphEdit *graph = Object::cast_to<GraphEdit>(get_parent());
|
||||
if (graph && has_focus()) {
|
||||
graph->key_input(p_ev);
|
||||
}
|
||||
}
|
||||
|
||||
void GraphElement::set_resizable(bool p_enable) {
|
||||
|
||||
Reference in New Issue
Block a user