mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
tied className into toJSON and create. deprecated shapeType property and getShapeType method
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
_initTag: function(config) {
|
||||
this.createAttrs();
|
||||
Kinetic.Shape.call(this, config);
|
||||
this.shapeType = 'Tag';
|
||||
this.className = 'Tag';
|
||||
this._setDrawFuncs();
|
||||
},
|
||||
drawFunc: function(canvas) {
|
||||
|
Reference in New Issue
Block a user