Fix Editor scroll zoom sensitivity - Bonk.io

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

Per 25-12-2021. Zie de nieuwste versie.

Maker
Excigma
Beoordelingen
0 0 0
Versie
0.0.2
Gemaakt op
02-12-2021
Bijgewerkt op
25-12-2021
Grootte
1,67 KB
Licentie
GPL-3.0
Wordt toegepast op

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