mirror of
https://github.com/caochao/cocos_creator_proj_base.git
synced 2026-05-06 15:20:42 +08:00
Update listviewitem.ts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user