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

Method previous

editor/editor_data.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195bool EditorSelectionHistory::previous() {
196 cleanup_history();
197
198 if (current_elem_idx > 0) {
199 current_elem_idx--;
200 } else {
201 return false;
202 }
203
204 return true;
205}
206
207bool EditorSelectionHistory::is_current_inspector_only() const {
208 if (current_elem_idx < 0 || current_elem_idx >= history.size()) {

Callers 2

edit_previous_itemMethod · 0.80
_edit_backMethod · 0.80

Calls

no outgoing calls

Tested by 1

_edit_backMethod · 0.64