Fix mouse wheel performance on MAC, when using non-infinite scroll mouse devices

This commit is contained in:
Oren Kedem committed 2021-06-16 11:25:56 +03:00
1 parent 74f35535e8
commit 1bc5ba612c
8 files changed
+8 -7

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ const MAC_AMOUNT_FACTOR = 5
const IS_MAC = navigator.platform.toUpperCase().indexOf('MAC') >= 0
const MAC_ZOOM_SENSITIVITY = 5
const MAC_SCROLL_SENSITIVITY = 20
const MAC_MOUSE_WHEEL_INFINITE_SCROLL_THRESHOLD= 120
const DEBUG = {}