From 530589769e654a09921677273d2fb613c67059ad Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Tue, 26 Jan 2016 13:14:12 +0100 Subject: [PATCH] Minor tweaking of constants related to mousewheel zooming (closes #16) --- src/smoothmwzoominteraction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smoothmwzoominteraction.js b/src/smoothmwzoominteraction.js index 72af72f..4a1d6b5 100644 --- a/src/smoothmwzoominteraction.js +++ b/src/smoothmwzoominteraction.js @@ -67,13 +67,13 @@ klokantech.SmoothMWZoomInteraction.DELTA_ADJUST = 12; * @define {number} Maximal value for the adjusted delta. ([-max, max]) * (speed -- resolution delta per timeout) */ -klokantech.SmoothMWZoomInteraction.MAX_DELTA = 1.5; +klokantech.SmoothMWZoomInteraction.MAX_DELTA = 1; /** * @define {number} Timeout duration. */ -klokantech.SmoothMWZoomInteraction.TIMEOUT_DURATION = 125; +klokantech.SmoothMWZoomInteraction.TIMEOUT_DURATION = 200; /** @inheritDoc */