Merge pull request #412 from Luis-Fernando-Molina/develop
Contribution: Fine Tunning iOS Mouse Wheel Sensitivity
This commit is contained in:
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++
|
||||
|
||||
Reference in new issue
Block a user