| 1130 | } |
| 1131 | |
| 1132 | void ModuleWidget::setGridPosition(math::Vec pos) { |
| 1133 | setPosition(pos * RACK_GRID_SIZE + RACK_OFFSET); |
| 1134 | } |
| 1135 | |
| 1136 | math::Vec ModuleWidget::getGridSize() { |
| 1137 | return (getSize() / RACK_GRID_SIZE).round(); |
no outgoing calls
no test coverage detected