Commit 6d1db085 authored by David Schnur's avatar David Schnur

Merge pull request #1205 from naknak/issue1204

Proposed fix for issue 1204: only enforce zoom limits in the direction of the merge
parents 4db2939f 8e761580
......@@ -260,8 +260,8 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
var range = max - min;
if (zr &&
((zr[0] != null && range < zr[0]) ||
(zr[1] != null && range > zr[1])))
((zr[0] != null && range < zr[0] && amount >1) ||
(zr[1] != null && range > zr[1] && amount <1)))
return;
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