Kinetic.Text events now work property

This commit is contained in:
Eric Rowell
2013-02-11 22:55:24 -08:00
parent 5d3180aee5
commit 5ac8142f82
3 changed files with 59 additions and 6 deletions

View File

@@ -364,7 +364,7 @@
var context = this.context;
context.save();
context.fillStyle = '#' + shape.colorKey;
shape._fillFunc(context);
shape._fillFuncHit(context);
context.restore();
},
_stroke: function(shape) {
@@ -374,7 +374,7 @@
context.save();
context.lineWidth = strokeWidth || 2;
context.strokeStyle = '#' + shape.colorKey;
shape._strokeFunc(context);
shape._strokeFuncHit(context);
context.restore();
}
}