Fix Editor scroll zoom sensitivity - Bonk.io

Fixes scrolling in the editor causing zoom to go ZOOOM (ie when using a trackpad)

Verze ze dne 25. 12. 2021. Zobrazit nejnovější verzi.

Autor
Excigma
Hodnocení
0 0 0
Verze
0.0.2
Vytvořeno
02. 12. 2021
Aktualizováno
25. 12. 2021
Size
1,7 KB
Licence
GPL-3.0
Spustit na

Fix Editor scroll zoom sensitivity - Bonk.io

⚠️ Requires kklee version 0.25 or higher to also be installed

If there is nothing wrong with your scroll sensitivity, there is no need to install this

Should work in Chrome and Firefox
Change REVERSE_SCROLL to true to reverse the scroll direction
Change SENSITIVITY higher to make it zoom more, and lower to zoom less

Reduce the scrolling sensitivity, especially on trackpads, by calculating the zoom differently that factors the amount of scroll

Savvy? You can edit the code to adjust the sensitivity or reverse the scroll direction