diff --git a/changelog.txt b/changelog.txt index 8cd27c7a..eb60c9e4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -91,7 +91,7 @@ A fancier version of this changelog can be found here: https://sandboxels.R74n.c ~ Fixed: Gaps when drawing fast on mobile ~ Fixed: Middle clicking empty space causes freeze ~ Fixed: Bless and Rock Wall can't be drawn in a line - ~ Fixed: Gapes when drawing Bless and Rock Wall fast + ~ Fixed: Gaps when drawing Bless and Rock Wall fast ~ Fixed: Bless and Rock Wall don't display info ~ Fixed: Bless and Rock Wall can't use Replace Mode ~ Fixed: Brown Dwarf Suns can emit Light when eclipsed diff --git a/index.html b/index.html index b1fd40f3..83f30c3d 100644 --- a/index.html +++ b/index.html @@ -13087,7 +13087,7 @@ behaviorRules = { function circleCoords(x,y,radius) { var coords = []; for (let i = Math.max(0, x - radius); i <= Math.min(width, x + radius); i++) { - for (let j = Math.max(0, y - radius); j <= Math.min(width, y + radius); j++) { + for (let j = Math.max(0, y - radius); j <= Math.min(height, y + radius); j++) { if (Math.pow(i - x, 2) + Math.pow(j - y, 2) <= Math.pow(radius, 2)) { coords.push({x: i,y: j}); }