Nested icon indicating copy to clipboard operation
Nested copied to clipboard

"nested-moved" class is not resized by ratio?

Open shunfan opened this issue 11 years ago • 1 comments

<div class="box size32 nested-moved" ... width: 123px; height: 60px; ... ></div>

Since the class name includes "size32", the ratio of the width and height should be 3:2 instead of 2:1 (The right one could be 93px, 60px, because the height is limited to 60px at maximum during that specific condition). I have tried to read your codes, but fail to fix that. It usually happens on last several pictures when they are moved to fill some blank room among other pictures.

shunfan avatar May 17 '15 16:05 shunfan

The issue is gone if I set resizeToFit to false, does it mean resizeToFit will resize the image non-proportionally?

shunfan avatar May 18 '15 04:05 shunfan