mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
don't execute adjust content logic in editor
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user