We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ad15c2 commit a953d69Copy full SHA for a953d69
1 file changed
glue/crumble/draw/main_draw.js
@@ -217,11 +217,6 @@ function draw(ctx, snap) {
217
let y = circuit.qubitCoordData[2 * q + 1];
218
return c2dCoordTransform(x, y);
219
};
220
- let pixelCoords = q => {
221
- let x = circuit.qubitCoordData[2 * q];
222
- let y = circuit.qubitCoordData[2 * q + 1];
223
- return [x * pitch * zoom - OFFSET_X + snap.scrollX, y * pitch * zoom - OFFSET_Y + snap.scrollY];
224
- }
225
let logicCoords = q => {
226
let x = circuit.qubitCoordData[2 * q];
227
0 commit comments