Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Adds onChange #50

Merged
merged 2 commits into from
Dec 29, 2019
Merged

Adds onChange #50

merged 2 commits into from
Dec 29, 2019

Conversation

dyarfaradj
Copy link
Contributor

Adds onChange

Copy link
Owner

@embiem embiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the defaultProps list in the README.md to include onChange.

Thank you!

@@ -444,7 +453,7 @@ export default class extends PureComponent {
const pointer = this.lazy.getPointerCoordinates();
const brush = this.lazy.getBrushCoordinates();

this.drawInterface(this.ctx.interface, pointer, brush);
// this.drawInterface(this.ctx.interface, pointer, brush);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// this.drawInterface(this.ctx.interface, pointer, brush);
this.drawInterface(this.ctx.interface, pointer, brush);

Please uncomment this line again, otherwise the catenary and draw position is not shown.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not able to add these changes since it's not my work. You could just make a commit after you've merged this. I have opened a pr for the readme: #54

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@embiem embiem merged commit d5af74c into embiem:develop Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants