diff --git a/public/scripts/functions.js b/public/scripts/functions.js index 1becbe0..11f1f1d 100644 --- a/public/scripts/functions.js +++ b/public/scripts/functions.js @@ -18,7 +18,7 @@ function populateHoneycomb( honeyCells , index){ // var cellWidth = ( height/honeyCells.height )*Math.sqrt(3); // if( width/honeyCells.width < height/honeyCells.height ){ - var cellWidth = (width - honeyCells.width)/(honeyCells.width+0.5); + var cellWidth = (width - honeyCells.width)/(honeyCells.width+1); // } @@ -40,6 +40,8 @@ function populateHoneycomb( honeyCells , index){ renderedHoneyComb.innerHTML=""; honeyComb.innerHTML = "