don't execute adjust content logic in editor

This commit is contained in:
zilongshanren
2016-09-02 11:21:48 +08:00
parent 6ad525e535
commit 911f6389ec
+1 -1
View File
@@ -123,7 +123,7 @@ var ScrollView = cc.Class({
editor: CC_EDITOR && {
menu: 'i18n:MAIN_MENU.component.ui/ScrollView',
help: 'i18n:COMPONENT.help_url.scrollview',
executeInEditMode: true,
executeInEditMode: false,
},
ctor: function() {