From fe7164aa9d7188650fe5f35ce850f93943dc1d55 Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Sun, 11 Jan 2026 14:22:57 -0500 Subject: [PATCH] hotfix --- index.html | 4 ++-- style.css | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 1645c173..1297c16b 100644 --- a/index.html +++ b/index.html @@ -17382,7 +17382,7 @@ behaviorRules = { renderPostPixelList[i](ctx); } } - const hoverPixel = getPixel(mousePos.x, mousePos.y); + const hoverPixel = getPixel(Math.round(mousePos.x), Math.round(mousePos.y)); if (hoverPixel) { if (elements[hoverPixel.element].hoverRender !== undefined) { elements[hoverPixel.element].hoverRender(ctx); @@ -18120,7 +18120,7 @@ behaviorRules = { view = n; } function centerMouse() { - mousePos = {x:width/2,y:height/2}; + mousePos = {x:Math.round(width/2),y:Math.round(height/2)}; } function handleElementButtonClick() { diff --git a/style.css b/style.css index c3512c3e..6a022f98 100644 --- a/style.css +++ b/style.css @@ -627,8 +627,6 @@ input[type="button"]:active, input[type="button"]:active:hover { display: -ms-flexbox; /* TWEENER - IE 10 */ display: -webkit-flex; /* NEW - Chrome */ display:flex; - align-items: center; - justify-content: center; } #categoryControls button { /* Borderless buttons */