Skip to content

Conversation

@djipco
Copy link

@djipco djipco commented Jun 7, 2014

When autoUpdate is enabled, the mask will be re-applied anytime the display list changes. It is off by default for backwards-compatibility. autoUpdate works by overridding methods such as addChild and removeChild. This means that if someone was to repeatedly call those methods (in a loop for example) there would be a performance impact.

I decided to add the autoUpdate param in the constructor. I think it makes sense but I'll let you decide. Cheers!

cotejp added 2 commits June 6, 2014 21:16
When 'autoUpdate' is enabled, the mask will be automatically re-applied whenever the display list changes.
I figured it would probably be better this way for backwards-compatibility.
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