mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
This commit is contained in:
parent
0a59c3c3a6
commit
920947f297
117 changed files with 229 additions and 224 deletions
|
|
@ -141,7 +141,7 @@ void CreateDialog::_sbox_input(const InputEvent& p_ie) {
|
|||
p_ie.key.scancode == KEY_PAGEUP ||
|
||||
p_ie.key.scancode == KEY_PAGEDOWN ) ) {
|
||||
|
||||
search_options->call("_input_event",p_ie);
|
||||
search_options->call("_gui_input",p_ie);
|
||||
search_box->accept_event();
|
||||
}
|
||||
|
||||
|
|
@ -682,7 +682,7 @@ CreateDialog::CreateDialog() {
|
|||
favorite->connect("pressed",this,"_favorite_toggled");
|
||||
vbc->add_margin_child(TTR("Search:"),search_hb);
|
||||
search_box->connect("text_changed",this,"_text_changed");
|
||||
search_box->connect("input_event",this,"_sbox_input");
|
||||
search_box->connect("gui_input",this,"_sbox_input");
|
||||
search_options = memnew( Tree );
|
||||
vbc->add_margin_child(TTR("Matches:"),search_options,true);
|
||||
get_ok()->set_text(TTR("Create"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue