MCPcopy Create free account
hub / github.com/VCVRack/Rack / undo

Method undo

src/history.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void ComplexAction::undo() {
19 for (auto it = actions.rbegin(); it != actions.rend(); it++) {
20 Action* action = *it;
21 action->undo();
22 }
23}
24
25void ComplexAction::redo() {
26 for (Action* action : actions) {

Callers 2

onHoverKeyMethod · 0.45
onActionMethod · 0.45

Calls 8

updateExpandersMethod · 0.80
bypassModuleMethod · 0.80
moduleFromJsonMethod · 0.80
setParamValueMethod · 0.80
getModuleMethod · 0.45
removeModuleMethod · 0.45
getCableMethod · 0.45
removeCableMethod · 0.45

Tested by

no test coverage detected