fix zoom
This commit is contained in:
parent
9023252822
commit
6cc8a9e645
@ -310,5 +310,5 @@ screenRow.onwheel = function(event) {
|
|||||||
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", zoom + "px")
|
screenRow.style.setProperty("--tZ", tZ + "px")
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user