From 678c73fa4256cf12ce7de759e2b2ec7e31afc129 Mon Sep 17 00:00:00 2001 From: zilongshanren Date: Tue, 6 Jun 2017 10:49:11 +0800 Subject: [PATCH] disable layout type animate --- cocos2d/core/components/CCLayout.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cocos2d/core/components/CCLayout.js b/cocos2d/core/components/CCLayout.js index 5cb4b290e0..0edf2e526e 100644 --- a/cocos2d/core/components/CCLayout.js +++ b/cocos2d/core/components/CCLayout.js @@ -196,7 +196,8 @@ var Layout = cc.Class({ } this._doLayoutDirty(); }, - tooltip: CC_DEV && 'i18n:COMPONENT.layout.layout_type' + tooltip: CC_DEV && 'i18n:COMPONENT.layout.layout_type', + animatable: false, },