Merge pull request #412 from Luis-Fernando-Molina/develop

Contribution: Fine Tunning iOS Mouse Wheel Sensitivity
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-01-19 12:44:47 +01:00
commit e2789a6fce
1 file changed
+4 -4
@@ -243,9 +243,9 @@ function newTimeFrameScale() {
let sensitivity
if (event.delta < 0) {
if (event.shiftKey === true) {
sensitivity = MAC_SCROLL_SENSITIVITY
} else {
sensitivity = MAC_ZOOM_SENSITIVITY
} else {
sensitivity = MAC_SCROLL_SENSITIVITY
}
if (wheelDeltaDirection === -1) {
wheelDeltaCounter++
@@ -261,9 +261,9 @@ function newTimeFrameScale() {
}
} else {
if (event.shiftKey === true) {
sensitivity = MAC_SCROLL_SENSITIVITY
} else {
sensitivity = MAC_ZOOM_SENSITIVITY
} else {
sensitivity = MAC_SCROLL_SENSITIVITY
}
if (wheelDeltaDirection === 1) {
wheelDeltaCounter++