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

Method updateModuleOldPositions

src/app/RackWidget.cpp:953–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953void RackWidget::updateModuleOldPositions() {
954 internal->moduleOldPositions.clear();
955 for (ModuleWidget* mw : getModules()) {
956 internal->moduleOldPositions[mw] = mw->getPosition();
957 }
958}
959
960history::ComplexAction* RackWidget::getModuleDragAction() {
961 history::ComplexAction* h = new history::ComplexAction;

Callers 4

chooseModelFunction · 0.80
onDragStartMethod · 0.80
cloneActionMethod · 0.80
removeActionMethod · 0.80

Calls 2

getPositionMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected