TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

Aspect ratio broken when fastly dragging from crop area corners

Open zahariadaniel16 opened this issue 6 years ago • 2 comments

Hi,

I have found the following issue: I'm using a custom aspectRatioPreset with aspectRatioLockEnabled=true and if I do the following: zoom in, move image until the crop area reaches the top right corner, zoom out and then fastly drag down from one of the crop area's bottom corners, the aspect ratio is broken and the image can be cropped to any dimension.

Thanks in advance and also thanks for this awesome work!

zahariadaniel16 avatar Jan 14 '19 14:01 zahariadaniel16

Hi @zahariadaniel16! Thanks! I'm glad you like the library!

Hmm, can you please post your code you wrote when presenting this view controller so I can see exactly what aspect ratio settings you used?

Thanks!

TimOliver avatar Jan 28 '19 15:01 TimOliver

Have you solved this bug @TimOliver? Please help me, thank you so much!

thangpq-ahiho avatar Feb 08 '23 10:02 thangpq-ahiho