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

[with solution]: problem with lineWidthStack #53

Closed
tmarti opened this issue Nov 4, 2019 · 2 comments · Fixed by #52
Closed

[with solution]: problem with lineWidthStack #53

tmarti opened this issue Nov 4, 2019 · 2 comments · Fixed by #52
Assignees
Labels

Comments

@tmarti
Copy link

tmarti commented Nov 4, 2019

This line...

this._lineWidthStack.push(this._lineWidthStack[this.stackIndex]);

... should be replaced with:

this._lineWidthStack.push(this._lineWidthStack[this._stackIndex]); 

Notice the missing _ when accessing this._stackIndex.

Sorry for not submitting a PR 😜

@jtenner jtenner self-assigned this Nov 4, 2019
@jtenner jtenner added the bug label Nov 4, 2019
@jtenner
Copy link
Collaborator

jtenner commented Nov 4, 2019

What's really alarming is the lineWidth isn't being properly tested.

@jtenner
Copy link
Collaborator

jtenner commented Nov 4, 2019

Thanks @tmarti this should be fixed in #52

@hustcc hustcc closed this as completed in #52 Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants