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

Drawing dots not working #43

Open
jribbink opened this issue Mar 20, 2016 · 1 comment
Open

Drawing dots not working #43

jribbink opened this issue Mar 20, 2016 · 1 comment

Comments

@jribbink
Copy link

When you just click and don't move the mouse, sketch.js doesn't draw a dot. Is there any way to enable this?

@jribbink
Copy link
Author

I have largely narrowed down this issue and I now assume that somebody will have an answer now. I have dealt with actually drawing the dots, and that's no issue whatsoever (I just draw an arc on mouseup). Now the issue is that sketch.js calls this line of code in it's "redraw" function: this.el.width = this.canvas.width();. For whatever reason, this line of code removes the dot I have drawn. I tried removing this line, but the drawing looks all weird afterwards.

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

No branches or pull requests

1 participant