This commit is contained in:
slweeb 2026-01-11 14:22:57 -05:00
parent 9a28cbfd8e
commit fe7164aa9d
2 changed files with 2 additions and 4 deletions

View File

@ -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() {

View File

@ -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 */