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

Right-clicking on white shouldn't set color #13

Open
rywal opened this issue Jul 31, 2014 · 2 comments
Open

Right-clicking on white shouldn't set color #13

rywal opened this issue Jul 31, 2014 · 2 comments

Comments

@rywal
Copy link

rywal commented Jul 31, 2014

Right clicking on the white background currently sets the user's color to white, which may cause confusion for users who attempt to draw on anything that is not colored(i.e. the background). Logic should be added to prevent changing color if the color is white

@DarrenCattle
Copy link
Member

gridClicked(square)
var user.color = (el.backgroundColor !== ' ') ? (server.color) : (user.color);

wrong variable names but you get the point real simple fix.

@austinpray
Copy link
Member

Y'all are trash ima fix this when I'm not in Vegas

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

3 participants