hotfix
This commit is contained in:
parent
9a28cbfd8e
commit
fe7164aa9d
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue