LayaBox 实现panel里面嵌套list,list滚动,panel不滚动

//给list的Scroll注册Start事件
this.list_Record.scrollBar.on(Event.START,this,this.onListStart);

this.onListStart = function(){
   //list开始滚动时停止panel的滚动事件  
    this.panel_Friend.vScrollBar.stopScroll();
}

 

posted @ 2018-12-25 12:05  小伙子学编程  阅读(1605)  评论(0)    收藏  举报