mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
Kinetic.Text events now work property
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user