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

Clones don't inherit pen color #481

Closed
thisandagain opened this issue Feb 26, 2017 · 2 comments
Closed

Clones don't inherit pen color #481

thisandagain opened this issue Feb 26, 2017 · 2 comments

Comments

@thisandagain
Copy link
Contributor

Reported by a Scratcher in the forums:

I found a bug: clones don't inherit pen colour from their parents. It can be seen in this project, where the drips and spray will always be the default blue regardless of the main paint colour.

Expected Behavior

  • Clones should inherit pen color from the sprite which created them

Actual Behavior

  • They inherit the default "blue" pen color

Operating System and Browser

Mac OS 10.12.3 | Chrome Version 56.0.2924.87 (64-bit)

@SillyInventor
Copy link
Contributor

This can be fixed by copying _customState and _events from renderedTarget to newClone in makeClone.

@cwillisf
Copy link
Contributor

cwillisf commented May 8, 2017

Partially resolved by #555, tracking remained in #557

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

4 participants