mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-07 22:27:22 +08:00
更新ScrollviewDemo黑屏问题
This commit is contained in:
@@ -11,15 +11,9 @@ cc.Class({
|
||||
|
||||
// use this for initialization
|
||||
onLoad: function () {
|
||||
// this.label.string = this.text;
|
||||
this.horizontal.node.active = true;
|
||||
this.vertical.node.active = false;
|
||||
this.grid.node.active = false;
|
||||
this.node.removeAllChildren();
|
||||
cc.instantiate();
|
||||
parseInt();
|
||||
let node= new cc.Node();
|
||||
node.setPositionX();
|
||||
},
|
||||
|
||||
onBtnClicked(event, customData) {
|
||||
|
||||
Reference in New Issue
Block a user