You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Change set_drag_forwarding() to use callables.
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
This commit is contained in:
@@ -578,7 +578,7 @@ ActionMapEditor::ActionMapEditor() {
|
||||
action_tree->connect("button_clicked", callable_mp(this, &ActionMapEditor::_tree_button_pressed));
|
||||
main_vbox->add_child(action_tree);
|
||||
|
||||
action_tree->set_drag_forwarding(this);
|
||||
action_tree->set_drag_forwarding_compat(this);
|
||||
|
||||
// Adding event dialog
|
||||
event_config_dialog = memnew(InputEventConfigurationDialog);
|
||||
|
||||
Reference in New Issue
Block a user