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

Fixing the crop area #10

Merged
merged 1 commit into from
Jul 15, 2015
Merged

Fixing the crop area #10

merged 1 commit into from
Jul 15, 2015

Conversation

richardgroves
Copy link
Contributor

If the node used for defining the crop area is not at 0,0 then the code would scissor the wrong area.
If the crop node had a content size defined as other than CCSizeTypePoints it would get the wrong size.

If the node used for defining the crop area is not at 0,0 then the code would scissor the wrong area. 
If the crop node had a content size defined as other than CCSizeTypePoints it would get the wrong size.
@richardgroves
Copy link
Contributor Author

The change to the pos variable has the same effect as #5

Birkemose added a commit that referenced this pull request Jul 15, 2015
@Birkemose Birkemose merged commit 63eb036 into cocos2d:master Jul 15, 2015
@richardgroves richardgroves deleted the patch-3 branch July 15, 2015 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants