INNER CODE UNIT · JavaScript
tag
moshang-ax/lottery · product/src/lottery/index.js:494
tag = -(l - mid - 1) / 2;
for (let i = mid; i < l; i++) {
locates.push({
x: tag * width * Resolution,
y: yPosition[1] * Resolution
});
tag++;
}
} else {
for (let i = selectedCardIndex.length; i > 0; i--) {
locates.push({
x: tag * width * Resolution,
y: 0 * Resolution
});
tag++;
}
}