indyvon
 
(Mikhail Kryshen)
2015-10-22: Adjusted viewport scaling.

Adjusted viewport scaling.

diff --git a/src/indyvon/viewport.clj b/src/indyvon/viewport.clj
--- a/src/indyvon/viewport.clj
+++ b/src/indyvon/viewport.clj
@@ -39,7 +39,7 @@
     (doto (AffineTransform/getTranslateInstance x y)
       (.concatenate transform))))
 
-(def ^:dynamic *viewport-scaling-step* (double 3/4))
+(def ^:dynamic *viewport-scaling-step* (Math/sqrt (/ 1.0 2.0)))
 (def ^:dynamic *viewport-min-scale* 1E-6)
 (def ^:dynamic *viewport-max-scale* 1E6)