Open AndrewFall opened 6 years ago
- minWidth = round(options.minWidth / scaleX) || 0; - minHeight = round(options.minHeight / scaleY) || 0; + minWidth = round(min((options.minWidth / scaleX) || 0, imgWidth)); + minHeight = round(min((options.minHeight / scaleY) || 0, imgHeight));
I needed to apply this patch to make library work on customer site