mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Rename [gs]et_pos to [gs]et_position for Controls
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
This commit is contained in:
parent
1c480698ce
commit
8589ca3903
82 changed files with 330 additions and 330 deletions
|
|
@ -445,7 +445,7 @@ ShaderEditor::ShaderEditor() {
|
|||
|
||||
edit_menu = memnew(MenuButton);
|
||||
hbc->add_child(edit_menu);
|
||||
edit_menu->set_pos(Point2(5, -1));
|
||||
edit_menu->set_position(Point2(5, -1));
|
||||
edit_menu->set_text(TTR("Edit"));
|
||||
edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/undo", TTR("Undo"), KEY_MASK_CMD | KEY_Z), EDIT_UNDO);
|
||||
edit_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/redo", TTR("Redo"), KEY_MASK_CMD | KEY_Y), EDIT_REDO);
|
||||
|
|
@ -459,7 +459,7 @@ ShaderEditor::ShaderEditor() {
|
|||
|
||||
search_menu = memnew(MenuButton);
|
||||
hbc->add_child(search_menu);
|
||||
search_menu->set_pos(Point2(38, -1));
|
||||
search_menu->set_position(Point2(38, -1));
|
||||
search_menu->set_text(TTR("Search"));
|
||||
search_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/find", TTR("Find.."), KEY_MASK_CMD | KEY_F), SEARCH_FIND);
|
||||
search_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/find_next", TTR("Find Next"), KEY_F3), SEARCH_FIND_NEXT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue