Skip to content

Commit a953d69

Browse files
committed
remove unused pixelCoords
1 parent 6ad15c2 commit a953d69

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

glue/crumble/draw/main_draw.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,6 @@ function draw(ctx, snap) {
217217
let y = circuit.qubitCoordData[2 * q + 1];
218218
return c2dCoordTransform(x, y);
219219
};
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-
}
225220
let logicCoords = q => {
226221
let x = circuit.qubitCoordData[2 * q];
227222
let y = circuit.qubitCoordData[2 * q + 1];

0 commit comments

Comments
 (0)