Merge pull request #105595 from bruvzg/focus_fx
Fix `FOCUS_ACCESSIBILITY` grabbing focus when it is not supposed to, forward `GraphNode` key input to `GraphEdit`.
This commit is contained in:
@ -2263,6 +2263,10 @@ void GraphEdit::gui_input(const Ref<InputEvent> &p_ev) {
|
||||
}
|
||||
}
|
||||
|
||||
key_input(p_ev);
|
||||
}
|
||||
|
||||
void GraphEdit::key_input(const Ref<InputEvent> &p_ev) {
|
||||
if (p_ev->is_pressed()) {
|
||||
if (p_ev->is_action("ui_graph_duplicate", true)) {
|
||||
emit_signal(SNAME("duplicate_nodes_request"));
|
||||
|
||||
Reference in New Issue
Block a user