Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed closePath and beginPath for remote clients

  • Loading branch information...
commit 647fc48d9ed87b98ee09ad74cac6c8664639856f 1 parent a485d16
Pascal Opitz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  static/client.js
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.