SimpleCropView
SimpleCropView copied to clipboard
Inconsistency when changing mIsCropEnabled value
Consider this case. I enable crop using setCropEnabled(true) and adjust crop frame. Then I disable crop using setCropEnabled(false). Now if I call startCrop() I suppose it should ignore the previously set crop frame, but it will crop according to the frame which was set when crop was enabled.
I think calcCropRect() should take the value of mIsCropEnabled into account. Or at least there should be a public method to reset crop frame.
Sorry if I am buzzing you with a lot of issues. Thank you for taking the time to check these out.