Commit 8e761580 authored by Neil Katin's avatar Neil Katin

Proposed fix for issue 1204: only enforce zoom limits in the direction of the zoom.

parent 39bc058b
...@@ -260,8 +260,8 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L ...@@ -260,8 +260,8 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
var range = max - min; var range = max - min;
if (zr && if (zr &&
((zr[0] != null && range < zr[0]) || ((zr[0] != null && range < zr[0] && amount >1) ||
(zr[1] != null && range > zr[1]))) (zr[1] != null && range > zr[1] && amount <1)))
return; return;
opts.min = min; opts.min = min;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment