scroll backward
This commit is contained in:
@@ -135,7 +135,7 @@ tr.matrix td:not(.mino) {
|
|||||||
);
|
);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
border: 2px outset var(--center-color);
|
border: 2px outset var(--center-color);
|
||||||
box-shadow: 0 0 3px hsla(var(--h), var(--s), calc(var(--l) * var(--light) * 1.3), 50%);
|
box-shadow: 0 0 7px hsla(var(--h), var(--s), calc(var(--l) * var(--light) * 1.3), 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#holdTable .mino,
|
#holdTable .mino,
|
||||||
|
|||||||
@@ -309,6 +309,6 @@ sceneDiv.onwheel = function(event) {
|
|||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
let tZ = parseInt(getComputedStyle(screenRow).getPropertyValue("--tZ"))
|
let tZ = parseInt(getComputedStyle(screenRow).getPropertyValue("--tZ"))
|
||||||
tZ += event.deltaY
|
tZ -= event.deltaY
|
||||||
screenRow.style.setProperty("--tZ", tZ + "px")
|
screenRow.style.setProperty("--tZ", tZ + "px")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user