mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
changed drawFunc to sceneFunc and drawHitFunc to hitFunc
This commit is contained in:
@@ -174,9 +174,9 @@
|
||||
___init: function(config) {
|
||||
Kinetic.Shape.call(this, config);
|
||||
this.className = 'Tag';
|
||||
this.setDrawFunc(this._drawFunc);
|
||||
this.sceneFunc(this._sceneFunc);
|
||||
},
|
||||
_drawFunc: function(context) {
|
||||
_sceneFunc: function(context) {
|
||||
var width = this.getWidth(),
|
||||
height = this.getHeight(),
|
||||
pointerDirection = this.getPointerDirection(),
|
||||
|
Reference in New Issue
Block a user