TimOliver/TOCropViewController

[BUG]pushing done button with dragging

sugitatestblue opened this issue · 0 comments

Describe the bug

I guess it is default style only.

let cropvc = TOCropViewController(croppingStyle: .default, image: originalImage)

The plugin accept pushing done button when dragging didn't finish yet.

To Reproduce
Steps to reproduce the behavior:

  1. select image
  2. Keep dragging
  3. push Done(in Japanese, 完了) button
  4. it accepts cropping with empty spacing

Expected behavior

it doesn't accepts cropping with empty spacing

Screenshots

Screen Shot 2022-04-25 at 15 46 58

iOS Device:

  • Device: [Phone12]
  • OS: [iOS15.3.1]
  • Library Version [2.6.1]