From aa0068c88c9fab75d858e2664d3b2970f8b76d98 Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:44:16 -0400 Subject: [PATCH] hotfix --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 67c13993..1f33f15b 100644 --- a/index.html +++ b/index.html @@ -9960,6 +9960,7 @@ else { changePixel(pixel, elem2); } } if (r.func) { r.func(pixel,pixel) } + if (r.color2) { pixel.color = pixelColorPick(pixel,r.color2) } } }, ignore: ["sun"], @@ -15520,7 +15521,7 @@ window.onload = function() { return elements[e].excludeRandom != true && elements[e].category != "tools" && !elements[e].tool; }); gameCanvas.addEventListener("mousedown", mouseClick); - gameCanvas.addEventListener("mousedown", function(){ + gameCanvas.addEventListener("mousedown", function(e){ if (elements[currentElement] && elements[currentElement].onMouseDown) { elements[currentElement].onMouseDown(e); }