From c98d25ab6631446d312152781f7c87d7d1478e1a Mon Sep 17 00:00:00 2001 From: jdescottes Date: Thu, 8 May 2014 01:36:59 +0200 Subject: [PATCH] Fix : Duplicate Current Frame bug (shift+n) Events were not raised when using Duplicate current frame on PublicPiskelController. --- src/js/controller/piskel/PublicPiskelController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controller/piskel/PublicPiskelController.js b/src/js/controller/piskel/PublicPiskelController.js index d9e5002b..a982968c 100644 --- a/src/js/controller/piskel/PublicPiskelController.js +++ b/src/js/controller/piskel/PublicPiskelController.js @@ -44,7 +44,7 @@ }; ns.PublicPiskelController.prototype.duplicateCurrentFrame = function () { - this.piskelController.duplicateFrameAt(this.getCurrentFrameIndex()); + this.duplicateFrameAt(this.getCurrentFrameIndex()); }; ns.PublicPiskelController.prototype.raiseSaveStateEvent_ = function (fn, args) {