Skip to content

Fix cc.ScrollView.WebGLRenderCmd._startCmd#3539

Open
Riyaaaaa wants to merge 1 commit intococos2d:developfrom
Riyaaaaa:develop
Open

Fix cc.ScrollView.WebGLRenderCmd._startCmd#3539
Riyaaaaa wants to merge 1 commit intococos2d:developfrom
Riyaaaaa:develop

Conversation

@Riyaaaaa
Copy link

@Riyaaaaa Riyaaaaa commented Nov 8, 2017

I found a bug in updating the scissor box of cc.ScrollView.WebGLRenderCmd.
The calling function is incorrect in the intersection judgment processing of parent scissor box and frame.
Since cc.rectIntersection always returns Rect Object, the expression of the if statement is always true.

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.

1 participant