mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fixed up TextPath tests
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
Kinetic.Shape.call(this, config);
|
||||
|
||||
// overrides
|
||||
// TODO: shouldn't this be on the prototype?
|
||||
this._fillFunc = _fillFunc;
|
||||
this._strokeFunc = _strokeFunc;
|
||||
|
||||
@@ -75,6 +76,7 @@
|
||||
context.translate(p0.x, p0.y);
|
||||
context.rotate(glyphInfo[i].rotation);
|
||||
this.partialText = glyphInfo[i].text;
|
||||
|
||||
canvas.fillStroke(this);
|
||||
context.restore();
|
||||
|
||||
|
Reference in New Issue
Block a user