hotfix
This commit is contained in:
parent
9a28cbfd8e
commit
fe7164aa9d
|
|
@ -17382,7 +17382,7 @@ behaviorRules = {
|
||||||
renderPostPixelList[i](ctx);
|
renderPostPixelList[i](ctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const hoverPixel = getPixel(mousePos.x, mousePos.y);
|
const hoverPixel = getPixel(Math.round(mousePos.x), Math.round(mousePos.y));
|
||||||
if (hoverPixel) {
|
if (hoverPixel) {
|
||||||
if (elements[hoverPixel.element].hoverRender !== undefined) {
|
if (elements[hoverPixel.element].hoverRender !== undefined) {
|
||||||
elements[hoverPixel.element].hoverRender(ctx);
|
elements[hoverPixel.element].hoverRender(ctx);
|
||||||
|
|
@ -18120,7 +18120,7 @@ behaviorRules = {
|
||||||
view = n;
|
view = n;
|
||||||
}
|
}
|
||||||
function centerMouse() {
|
function centerMouse() {
|
||||||
mousePos = {x:width/2,y:height/2};
|
mousePos = {x:Math.round(width/2),y:Math.round(height/2)};
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleElementButtonClick() {
|
function handleElementButtonClick() {
|
||||||
|
|
|
||||||
|
|
@ -627,8 +627,6 @@ input[type="button"]:active, input[type="button"]:active:hover {
|
||||||
display: -ms-flexbox; /* TWEENER - IE 10 */
|
display: -ms-flexbox; /* TWEENER - IE 10 */
|
||||||
display: -webkit-flex; /* NEW - Chrome */
|
display: -webkit-flex; /* NEW - Chrome */
|
||||||
display:flex;
|
display:flex;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
#categoryControls button {
|
#categoryControls button {
|
||||||
/* Borderless buttons */
|
/* Borderless buttons */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue