diff --git a/js/ui/interaction.js b/js/ui/interaction.js index 6ab4cb98d68..c1ddfb2046b 100644 --- a/js/ui/interaction.js +++ b/js/ui/interaction.js @@ -197,6 +197,9 @@ function Interaction(el) { } } + // Slow down zoom if shift key is held for more precise zooming + if (ev.shiftKey && value) value = value / 4; + // Only fire the callback if we actually know what type of scrolling // device the user uses. if (type !== null) {