MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / select_prev

Method select_prev

editor/editor_main_screen.cpp:149–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void EditorMainScreen::select_prev() {
150 int editor = _get_current_main_editor();
151
152 do {
153 if (editor == 0) {
154 editor = editor_table.size() - 1;
155 } else {
156 editor--;
157 }
158 } while (!buttons[editor]->is_visible());
159
160 select(editor);
161}
162
163void EditorMainScreen::select_by_name(const String &p_name) {
164 ERR_FAIL_COND(p_name.is_empty());

Callers 1

shortcut_inputMethod · 0.80

Calls 2

sizeMethod · 0.65
is_visibleMethod · 0.45

Tested by

no test coverage detected