Update listviewitem.ts

This commit is contained in:
caochao
2020-06-04 10:07:48 +08:00
committed by GitHub
parent 36e5e088a3
commit 0a74a1d4ff

View File

@@ -2,11 +2,6 @@ const {ccclass, property} = cc._decorator;
@ccclass
export class ListViewItem extends cc.Component
{
// constructor()
// {
// super();
// }
onInit()
{
// cc.log("item初如化");
@@ -52,4 +47,4 @@ export class ListViewItem extends cc.Component
this.node.x = left + this.node.anchorX * this.node.width;
this.node.y = top - (1 - this.node.anchorY) * this.node.height;
}
}
}