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

fixed color tool bug #419

Open
wants to merge 3 commits into
base: master
from
Open

fixed color tool bug #419

wants to merge 3 commits into from

Conversation

@troy351
Copy link

@troy351 troy351 commented Jan 17, 2019

I assume it's a typo

troy351 added 2 commits Jan 17, 2019
@Ovilia
Copy link
Contributor

@Ovilia Ovilia commented Jan 30, 2019

Thanks for your contribution!
Can you describe what problem this bug cause?

@troy351
Copy link
Author

@troy351 troy351 commented Jan 30, 2019

It's just a typo here since color is a string and color[i] < 0 means nothing. should use colorArr[i] < 0 instead.
As for the if (!leftColor || !rightColor) return; part, just do the Can not read property xxx of null check

@Ovilia
Ovilia approved these changes Jan 31, 2019
Copy link
Contributor

@Ovilia Ovilia left a comment

LGTM.

@100pah Please have a look and have it merged if it's OK.

update to lastest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.