Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Added ability to lock the height/width ration when cropping #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Added ability to lock the height/width ration when cropping #9

wants to merge 4 commits into from

Conversation

perfaram
Copy link

@perfaram perfaram commented Aug 2, 2016

No description provided.

handleArray.append(CGRectMake(leftColX, middleRowY, kHandleDiameter, kHandleDiameter)) //middle left
}

return handleArray
}
Copy link
Author

@perfaram perfaram Aug 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When aspect ratio is locked, show only the handles located at the angles.

@perfaram
Copy link
Author

perfaram commented Aug 3, 2016

Note that some changes I made highlighted a bug in Swift's compiler (https://bugs.swift.org/browse/SR-2268).
Don't merge this right away, wait for the Swift team to fix it first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant