From 31b9c8535f964b3ed605c34b56231a5d08ee2bdb Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Wed, 15 May 2024 20:58:54 -0400 Subject: [PATCH] hotfix --- changelog.txt | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}); }