fixed mousemove event bug, and added a very rigorous functional test to test all of the basic shape events for both desktop and mobile

This commit is contained in:
Eric Rowell
2012-06-18 17:56:12 -07:00
parent dc51d95eb1
commit bf616d0d4d
6 changed files with 402 additions and 152 deletions

View File

@@ -42,7 +42,7 @@ Kinetic.Layer.prototype = {
var timeDiff = time - this.lastDrawTime;
var tt = 1000 / throttle;
if(timeDiff >= tt) {
if(timeDiff >= tt || throttle > 200) {
this._draw();
if(this.drawTimeout !== undefined) {