Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to push select button when dragging #242

Closed
sugitatestblue opened this issue Apr 26, 2022 · 1 comment
Closed

Able to push select button when dragging #242

sugitatestblue opened this issue Apr 26, 2022 · 1 comment

Comments

@sugitatestblue
Copy link

While dragging image, it can push push select button.
So, it can select empty area.

@sugitatestblue
Copy link
Author

pis aller

    func imageCropViewController(_ controller: RSKImageCropViewController, didCropImage croppedImage: UIImage, usingCropRect cropRect: CGRect, rotationAngle: CGFloat) {
        let imageSize = croppedImage.size
        if imageSize.width != imageSize.height {
            debugPrint("imageSize.width:\(imageSize.width), imageSize.height:\(imageSize.height)")
            return
        }

        // bla bla.
    }

@ruslanskorb ruslanskorb changed the title [Bug] able to push select button when dragging Able to push select button when dragging May 18, 2022
ruslanskorb added a commit that referenced this issue May 19, 2022
…d `chooseButton` while the image is being dragged, decelerated, or zoomed.

Fixes #234, fixes #242.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants