Use Core/Scene stringnames consistently

This commit is contained in:
kobewi 2024-05-13 16:56:03 +02:00
parent de196227e1
commit 413c11357d
214 changed files with 650 additions and 765 deletions

View file

@ -387,7 +387,7 @@ void ScreenSelect::_bind_methods() {
void ScreenSelect::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY: {
connect("gui_input", callable_mp(this, &ScreenSelect::_handle_mouse_shortcut));
connect(SceneStringName(gui_input), callable_mp(this, &ScreenSelect::_handle_mouse_shortcut));
} break;
case NOTIFICATION_THEME_CHANGED: {
set_icon(get_editor_theme_icon("MakeFloating"));