CSC510-2015-Axitron / maze

Main repo for maze game
0 stars 2 forks source link

Maze designer cannot click single cells #67

Closed duh102 closed 9 years ago

duh102 commented 9 years ago

At least in FireFox, didn't have time to check other browsers.

ktspence commented 9 years ago

This might have something to do with the wallOver and wallClick calls being to the same function.

ktspence commented 9 years ago

Fixed the problem. Inside the wallClick function, which was hybrid for mouseOver (while down) and mouseClick, there was a check to see if the mouse was down, that wasn't applying if the reason for invoking was a click.