mirror of
https://github.com/konvajs/konva.git
synced 2025-12-21 19:27:08 +08:00
identified a couple public methods in the global object which are actually private
This commit is contained in:
@@ -661,11 +661,11 @@ Kinetic.Node.prototype = {
|
||||
* adding the animation with the addAnimation
|
||||
* method auto generates an id
|
||||
*/
|
||||
go.addAnimation(anim);
|
||||
go._addAnimation(anim);
|
||||
|
||||
// subscribe to onFinished for first tween
|
||||
trans.tweens[0].onFinished = function() {
|
||||
go.removeAnimation(anim.id);
|
||||
go._removeAnimation(anim.id);
|
||||
if(config.callback !== undefined) {
|
||||
config.callback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user