From 320a6cfae6a9b5c39f493be8d99fbdfea58a8b3a Mon Sep 17 00:00:00 2001 From: knoxHuang <821686174@qq.com> Date: Tue, 19 Dec 2017 17:53:47 +0800 Subject: [PATCH] fix Container scale strategys bug for fireball/issues/6733 --- cocos2d/core/platform/CCView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2d/core/platform/CCView.js b/cocos2d/core/platform/CCView.js index 28a1f931ec..6206572cc0 100644 --- a/cocos2d/core/platform/CCView.js +++ b/cocos2d/core/platform/CCView.js @@ -1181,6 +1181,7 @@ cc.ContentStrategy = cc._Class.extend(/** @lends cc.ContentStrategy# */{ else { containerStyle.margin = '0px'; } + containerStyle.padding = "0px"; } });