diff --git a/javascript/drawCanvas.js b/javascript/drawCanvas.js index c758459..c8297e6 100644 --- a/javascript/drawCanvas.js +++ b/javascript/drawCanvas.js @@ -1023,7 +1023,7 @@ function determineCoreRow(core, sortedCoresData) { // Filter out rows in sortedCoresData that only have one core sortedCoresData = sortedCoresData.filter((core) => { const coresInRow = sortedCoresData.filter((c) => c.row === core.row); - return coresInRow.length > 1; + return coresInRow.length > 0; }); let imageRotation = parseFloat(document.getElementById("originAngle").value);