From 4bace3d6f196f68e04211fabe649d87e75dba4d0 Mon Sep 17 00:00:00 2001 From: walt Date: Wed, 22 Jun 2016 20:37:44 +0200 Subject: [PATCH] Added pause check in MovieClip.__tick --- src/easeljs/display/MovieClip.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/easeljs/display/MovieClip.js b/src/easeljs/display/MovieClip.js index 7f7955657..f4aed00b1 100644 --- a/src/easeljs/display/MovieClip.js +++ b/src/easeljs/display/MovieClip.js @@ -504,8 +504,10 @@ this.createjs = this.createjs||{}; * @protected **/ p._tick = function(evtObj) { + if (!this.paused) { this.advance(evtObj&&evtObj.delta); - this.Container__tick(evtObj); + } + this.Container__tick(evtObj); }; /**