other scale

This commit is contained in:
Luis Fernando Molina committed 2020-03-10 19:24:04 +01:00
1 parent d299cbd482
commit 5d4d09d2c7
3 files changed
+43 -4

No files matched your search

+1 -3
View File
@@ -253,10 +253,8 @@ function newTimeFrameScale () {
}
function onMouseWheel (event) {
delta = event.wheelDelta
if (IS_MAC) {
if (delta < 0) {
if (event.wheelDelta < 0) {
if (wheelDeltaDirection === -1) {
wheelDeltaCounter++
if (wheelDeltaCounter < 5) {