Permalink
Browse files

fixed closePath and beginPath for remote clients

  • Loading branch information...
1 parent a485d16 commit 647fc48d9ed87b98ee09ad74cac6c8664639856f @pascalopitz committed Oct 13, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 static/client.js
View
@@ -114,6 +114,7 @@
this.draw = draw;
function lock() {
+ ctx.closePath();
this.locked = true;
}
this.lock = function() {
@@ -123,6 +124,7 @@
};
function free() {
+ ctx.beginPath();
this.locked = false;
x = null;
y = null;

0 comments on commit 647fc48

Please sign in to comment.